Opening Range Breakout - EasyLanguage Programming | futures io social day trading
futures io futures trading


Opening Range Breakout
Updated: Views / Replies:18,194 / 48
Created: by ptcm Attachments:7

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you dont need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 7  
 
Thread Tools Search this Thread
 

Opening Range Breakout

  #41 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,731 since Apr 2013
Thanks: 265 given, 998 received
Forum Reputation: Legendary

GustavMejlvang,

what did you check exactly i.e. what's the code you used for the check?

It probably comes down to a settings or setup issue, but without knowing what you used exactly for inputs, strategy properties etc. one could only guess.
Using your default inputs on EURUSD for example, the condition "EMA_spread>EMAspread" will not become true (unless EURUSD trades a lot higher).

Regards,

ABCTG

Reply With Quote
 
  #42 (permalink)
Trading Apprentice
Copenhagen, Denmark
 
Futures Experience: None
Platform: MultiCharts
Favorite Futures: Fx
 
Posts: 15 since May 2017
Thanks: 6 given, 3 received


ABCTG View Post
GustavMejlvang,

what did you check exactly i.e. what's the code you used for the check?

It probably comes down to a settings or setup issue, but without knowing what you used exactly for inputs, strategy properties etc. one could only guess.
Using your default inputs on EURUSD for example, the condition "EMA_spread>EMAspread" will not become true (unless EURUSD trades a lot higher).

Regards,

ABCTG

Hmm, that's weird as that coindition just tells that the difference between the two EMA's (200+21) should be more than 4 pips.

I did not use a code to check, I just went back and looked at some dates where there should have been trades and there wasn't. Sorry ABC, I am a beginner in EL and this is my first attempt to create my own signal. I have played around in EL with some of the build-in signals but this is my first month lol.

Reply With Quote
 
  #43 (permalink)
Trading Apprentice
Copenhagen, Denmark
 
Futures Experience: None
Platform: MultiCharts
Favorite Futures: Fx
 
Posts: 15 since May 2017
Thanks: 6 given, 3 received



ABCTG View Post
GustavMejlvang,

what did you check exactly i.e. what's the code you used for the check?

It probably comes down to a settings or setup issue, but without knowing what you used exactly for inputs, strategy properties etc. one could only guess.
Using your default inputs on EURUSD for example, the condition "EMA_spread>EMAspread" will not become true (unless EURUSD trades a lot higher).

Regards,

ABCTG

I really appreciate your help btw!! Thanks a lot

Reply With Quote
 
  #44 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,731 since Apr 2013
Thanks: 265 given, 998 received
Forum Reputation: Legendary

GustavMejlvang,

check this using "print" and see if it does what you think it does.

Regards,

ABCTG


GustavMejlvang View Post
Hmm, that's weird as that coindition just tells that the difference between the two EMA's (200+21) should be more than 4 pips.


Reply With Quote
 
  #45 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,731 since Apr 2013
Thanks: 265 given, 998 received
Forum Reputation: Legendary

GustavMejlvang,

you are welcome. You can show your appreciation for posts here on futures.io by clicking the "Thanks" button next to the post.

Regards,

ABCTG


GustavMejlvang View Post
I really appreciate your help btw!! Thanks a lot


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #46 (permalink)
Trading Apprentice
Copenhagen, Denmark
 
Futures Experience: None
Platform: MultiCharts
Favorite Futures: Fx
 
Posts: 15 since May 2017
Thanks: 6 given, 3 received


ABCTG View Post
GustavMejlvang,

you are welcome. You can show your appreciation for posts here on futures.io by clicking the "Thanks" button next to the post.

Regards,

ABCTG

I have now got it to work.

Now, I have one last problem. And that is that I have a rule that the price (long setup) after the OR range has formed 07-09 cannot break the low of the OR. What I have now is this:
 
Code
//Trading criteria
condition1= Time>=EndTime and time<=lastTradeTime and ((ORhigh-ORlow)>0.0012) and ((Ema_current2-Ema_current1)>0.0004)and Ema_current2>Ema_current1;

condition2= Time>=EndTime and low[1]>ORlow and tradestoday<1;


if time>=EndTime and time<=lastTradeTime and condition1 and condition2

then
begin


buy ("ORB_TrendLong") next bar at ORhigh stop;
But it still takes trade even if the low of the OR has been broken. WHAT I WANT is the script to end IF a low of a bar AFTER 09 breaks the OR low.

Just cannot figure out how to do a statement like that.....

I really hope you can help me out

Reply With Quote
 
  #47 (permalink)
Trading Apprentice
Copenhagen, Denmark
 
Futures Experience: None
Platform: MultiCharts
Favorite Futures: Fx
 
Posts: 15 since May 2017
Thanks: 6 given, 3 received


GustavMejlvang View Post
I have now got it to work.

Now, I have one last problem. And that is that I have a rule that the price (long setup) after the OR range has formed 07-09 cannot break the low of the OR. What I have now is this:
 
Code
//Trading criteria
condition1= Time>=EndTime and time<=lastTradeTime and ((ORhigh-ORlow)>0.0012) and ((Ema_current2-Ema_current1)>0.0004)and Ema_current2>Ema_current1;

condition2= Time>=EndTime and low[1]>ORlow and tradestoday<1;


if time>=EndTime and time<=lastTradeTime and condition1 and condition2

then
begin


buy ("ORB_TrendLong") next bar at ORhigh stop;
But it still takes trade even if the low of the OR has been broken. WHAT I WANT is the script to end IF a low of a bar AFTER 09 breaks the OR low.

Just cannot figure out how to do a statement like that.....

I really hope you can help me out

Do you know if there is a function like:// if low<the 0900 low, then end. else // So the function can refer back to the 0900 bar, bar efter bar?

Reply With Quote
 
  #48 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,731 since Apr 2013
Thanks: 265 given, 998 received
Forum Reputation: Legendary

GustavMejlvang,

there is no function that will do that exactly, but you can code your own functionality.

Your code would have to save the low at 900 (or what ever value you look at - the OR Low for example) in a variable. Then when the low of bar is less than this variable, you can set a boolean variable to false.
This boolean variable can then be included in your order condition checks, so that orders can only be sent if this variable is "true" (besides your other conditions).
The last thing you'd have to do is to reset this variable every time when you want to allow trading again (for example at the beginning of the opening range period).

Regards,

ABCTG


GustavMejlvang View Post
Do you know if there is a function like:// if low<the 0900 low, then end. else // So the function can refer back to the 0900 bar, bar efter bar?


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #49 (permalink)
Trading Apprentice
Copenhagen, Denmark
 
Futures Experience: None
Platform: MultiCharts
Favorite Futures: Fx
 
Posts: 15 since May 2017
Thanks: 6 given, 3 received


ABCTG View Post
GustavMejlvang,

there is no function that will do that exactly, but you can code your own functionality.

Your code would have to save the low at 900 (or what ever value you look at - the OR Low for example) in a variable. Then when the low of bar is less than this variable, you can set a boolean variable to false.
This boolean variable can then be included in your order condition checks, so that orders can only be sent if this variable is "true" (besides your other conditions).
The last thing you'd have to do is to reset this variable every time when you want to allow trading again (for example at the beginning of the opening range period).

Regards,

ABCTG

Thank you VERY much! Now I know what to do. Will probably take some time and tries, but at least there is a way.

Have a fantastic day!

Reply With Quote
The following 2 users say Thank You to GustavMejlvang for this post:

Reply



futures io > > > > > Opening Range Breakout

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

July Journal Challenge - $500 in Amazon Gift Cards!

July
 

AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Range Breakout seveneigthtsix NinjaTrader Programming 11 September 1st, 2017 10:46 AM
Opening Range Breakout (EasyLanguage, automated) Big Mike Elite EasyLanguage Automated Trading 48 October 4th, 2016 05:49 PM
Range breakout indicator Jeff Castille NinjaTrader 16 April 23rd, 2012 02:11 PM
Opening Range of 6E supermht Currency Futures 4 April 8th, 2012 07:05 PM
Opening Range Indicator msocks The Elite Circle 0 September 15th, 2009 11:58 PM


All times are GMT -4. The time now is 01:19 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2018-07-20 in 0.14 seconds with 15 queries on phoenix