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


Opening Range Breakout
Updated: Views / Replies:15,040 / 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 90,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 donít 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

  #31 (permalink)
Trading Apprentice
New York, USA
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: Emini
 
Posts: 22 since Jan 2012
Thanks: 9 given, 2 received

I only tried it with @ES not with the D at the end, it should not matter about the symbol, the D just designate the day session, it has to be something else, are you using the MC or TS platform

Reply With Quote
 
  #32 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

I tested it with Tradestation. Please try it with @ES.D then as the sessions are exactly what the strategy has problems with and why it doesn't work properly with @ES.
The reason for this is that the time settings are hard coded and the code would have to be changed to make it work fine on @ES in my opinion.

Regards,
ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #33 (permalink)
Trading Apprentice
New York, USA
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: Emini
 
Posts: 22 since Jan 2012
Thanks: 9 given, 2 received


ABCTG
WOW, thats amazing you are great at this, changing the symbol to ED made all the difference, I normally use ES because that represents the 24 hr Globexl session, I just noticed that the ED is just for the day session. Anyhow do you have any instructions on how to use this indicator, that is how to interpret the instructions that is plotted on the screen, there is a BroR_Sh1 and BroR_L1. Did you do the programming for this indicator and how difficult would it be to program some of the patterns from the Crabel book.
Thanks

Attached Thumbnails
Opening Range Breakout-orb.jpg  
Reply With Quote
 
  #34 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

Gann Trader,

thanks. I didn't program that indicator, just made the ELD for you so that it would work. What it plots on the screen are the entries and their names. The difficulty to program a Crabel pattern depends from pattern to pattern obviously. Programming the OR Breakout with the stretch is not too hard.

Regards,
ABCTG

Reply With Quote
 
  #35 (permalink)
Trading Apprentice
New York, USA
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: Emini
 
Posts: 22 since Jan 2012
Thanks: 9 given, 2 received

Guten Tag ABCTG
Just realized that you were located in Germany, all this time I thought you were in the USA, Yes I understand about the difficulty to program the various Crabel patterns, I read through the entire book and there are a few high percentage patterns that I would love to have programmed so as to test and review how reliable they are in todays market, actually it would not be necessary to program all the patterns mentioned in his book, you would just need to select a few, for example, the ORB NR4, ORB NR7, ID and ID/NR4
these are probably the best patterns, from your programming experience, how difficult do you believe it would be to program these patterns,
Danke

Gann Trader


Last edited by Gann Trader; February 26th, 2014 at 02:26 PM.
Reply With Quote
 
  #36 (permalink)
Trading Apprentice
Milan, italy
 
Futures Experience: Master
Platform: Tradestation
Broker/Data: Tradestation
Favorite Futures: es,nq, ym, e7, j7, FDAX, FDXM, FGBL, FESX, GC, QO, CL, NG,Currency Futures
 
Posts: 30 since Oct 2015
Thanks: 9 given, 4 received


ABCTG View Post
Gann Trader,

this code should compile fine in Tradestation 9.1. I am attaching it as ELD to this post.
I don't know the George Bysshe book, but from the code I can say it's not the Toby Crabel logic. If I recall correctly Crabel used a "stretch" in his Open Range Breakout and this code doesn't have that.

Regards,
ABCTG

Hi,
can you help me with a simple code? I've trie but it's really not my work......
I'm trying to code a simple breakout strategy:
> buy long (limit) if price goes 1rst minute candle + 0.01 cent
put a stop at 1rst minute low - 0.01 cent
position = distance from 1rst minute high and low / $fixed dollar amount

thanks!

Reply With Quote
 
  #37 (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
Gann Trader,

thanks. I didn't program that indicator, just made the ELD for you so that it would work. What it plots on the screen are the entries and their names. The difficulty to program a Crabel pattern depends from pattern to pattern obviously. Programming the OR Breakout with the stretch is not too hard.

Regards,
ABCTG

Hi ABC.

I have a problem with my Signal (ORB long system). It compiles, but no trades show up (EURGBP, 15min chart).

 
Code
[IntrabarOrderGeneration = True]

Inputs:

StartTime(0700),				//Start time of Open Range
EndTime(0900),				//End time of Open Range
price(Close),
OR_minimum(12),				//minimum size of OR
OR_extension(1),				//Extension of OR
Ema_length1(200), Ema_length2(21),
EMAspread(4);
{maybe include: Pointsize(0.0001) which is the actual point size of the instrument}

variables:

ORhigh(0),		//Open Range High
ORlow(999999),	//Open Range Low
Ema_current1(0),
Ema_current2(0),
Stop_lossMid(0),
EMA_spread(0),	//distance between EMA1 and 2
Trade_endingTime(0),	//ending time of the day for trades to be taken
Open_range(0),	//the OR in pips
Long_entry(0),	//buy-stop 1 pip above the OR high
MP(0);				//Market position (-1 = short, +1 = long)

Ema_Current1= XAverage(price,Ema_length1);
Ema_current2=XAverage(price,Ema_length2);
Open_range = ORhigh-ORlow;
EMA_spread = Ema_current2-Ema_current1;
Trade_endingTime=Time(1600);
Long_entry=(ORhigh+1 point);
Stop_lossMid=((ORhigh-ORlow)*0.5);


// Reset previous values
if (Date <> Date[1]) then begin
ORhigh		= 0;
ORlow		= 999999;
end;

//Open Range High and Low
if t>=StartTime and t<=EndTime then
begin
if High>ORhigh then ORhigh=High;
if Low<ORlow then ORlow=Low;
end;


//Trading criteria
if t>=StartTime and t<Trade_endingTime and Open_range > OR_minimum and Ema_current2>Ema_current1 and EMA_spread>EMAspread and low[1]>ORlow
then
begin

buy ("ORB_TrendLong")1 l contract next bar at Long_entry stop;
end;

if marketposition=1 then setstoploss_pt(stop_lossMid);
if marketposition=1 then setprofittarget
10:45
[IntrabarOrderGeneration = True]

Inputs:

StartTime(0700),				//Start time of Open Range
EndTime(0900),				//End time of Open Range
price(Close),
OR_minimum(12),				//minimum size of OR
OR_extension(1),				//Extension of OR
Ema_length1(200), Ema_length2(21),
EMAspread(4);
{maybe include: Pointsize(0.0001) which is the actual point size of the instrument}

variables:

ORhigh(0),		//Open Range High
ORlow(999999),	//Open Range Low
Ema_current1(0),
Ema_current2(0),
Stop_lossMid(0),
EMA_spread(0),	//distance between EMA1 and 2
Trade_endingTime(0),	//ending time of the day for trades to be taken
Open_range(0),	//the OR in pips
Long_entry(0),	//buy-stop 1 pip above the OR high
MP(0),				//Market position (-1 = short, +1 = long)
ORB_Target(0);

Ema_Current1= XAverage(price,Ema_length1);
Ema_current2=XAverage(price,Ema_length2);
Open_range = ORhigh-ORlow;
EMA_spread = Ema_current2-Ema_current1;
Trade_endingTime=Time(1600);
Long_entry=(ORhigh+1 point);
Stop_lossMid=((ORhigh-ORlow)*0.5);
ORB_Target=((OR_extension*Open_range)+ORhigh);


// Reset previous values
if (Date <> Date[1]) then begin
ORhigh		= 0;
ORlow		= 999999;
end;

//Open Range High and Low
if t>=StartTime and t<=EndTime then
begin
if High>ORhigh then ORhigh=High;
if Low<ORlow then ORlow=Low;
end;


//Trading criteria
if t>=StartTime and t<Trade_endingTime and Open_range > OR_minimum and Ema_current2>Ema_current1 and EMA_spread>EMAspread and low[1]>ORlow
then
begin

buy ("ORB_TrendLong") next bar at Long_entry stop;
end;

if marketposition=1 then setstoploss_pt(stop_lossMid);
if marketposition=1 then setprofittarget(ORB_Target);


//close at market at EOD if target is not met

if (Time=2230) and (MP=1) then
begin
sell this bar at close;
End;
I am a noob at EL, but I really don't understand why the signal does not produce any trades.

Thank you in advance for your help!

Reply With Quote
 
  #38 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

GustavMejlvang,

the first thing I'd suggest to check is, if there should have been entries based on the strategy logic on your chart.

If there should have been entries, check the variable values on those dates (using print statements for example https://www.multicharts.com/trading-software/index.php/Print) to see what is going on within your code.

This should help you in tracking down what's going on.

Regards,

ABCTG

Reply With Quote
 
  #39 (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,

the first thing I'd suggest to check is, if there should have been entries based on the strategy logic on your chart.

If there should have been entries, check the variable values on those dates (using print statements for example to see what is going on within your code.

This should help you in tracking down what's going on.

Regards,

ABCTG

Yep, I did that already. There are no entries showing. Thanks, I will have a look at the print statement.

Reply With Quote
 
  #40 (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,

the first thing I'd suggest to check is, if there should have been entries based on the strategy logic on your chart.

If there should have been entries, check the variable values on those dates (using print statements for example to see what is going on within your code.

This should help you in tracking down what's going on.

Regards,

ABCTG

I checked the variables on the dates where there should have been trades. Hmm, to be honest I don't know what to look for...

It seems that everything in my code is correct (it is obviously not, but can't spot the mistake)..

Reply With Quote

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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

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


All times are GMT -4. The time now is 12:59 PM.

Copyright © 2017 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 2017-12-18 in 0.13 seconds with 20 queries on phoenix via your IP 54.196.201.241