BT OPENING RANGE INDICATOR - without vertical lines at session changes - NinjaTrader Programming | futures io social day trading
futures io futures trading


BT OPENING RANGE INDICATOR - without vertical lines at session changes
Updated: Views / Replies:26,394 / 108
Created: by Todd Attachments:49

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
 49  
 
Thread Tools Search this Thread
 

BT OPENING RANGE INDICATOR - without vertical lines at session changes

  #71 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Silvester17 View Post
@Fat Tails,

this is not a big deal. just curious if I did something wrong again.

looking at TF. trading normally starts at 8 o"clock except sunday at 6. the opening range indicator (IB range bands as well) does not start plotting the pre-session high and low till 8 o'clock on sunday. but interestingly the numbers are correct, just doesn't plot it. the pivot indicators are working perfectly, so I believe my session template is correct.

settings are full for pre-session and second for session # for rth

again the numbers are correct and it's really no biggie and thanks again for this very helpful tool.


It is a limitation of the custom plot of the indicator.

The pre-session high and low is meant to be used as support and resistance during the regular session. Prior to the regular session it is a developing range, which uses a different color. There are only few instruments which start early on Sunday evening, and although it is possible to extend that line, it would cause additional CPU load without any real benefit.

As you said the pre-session high and low are calculated correctly, the developing range is just not displayed during the first 2 hours on Sunday evening.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #72 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Opening Range Indicator With Offset - TEST

Following request by a few members here, I have updated the opening range indicator. You can now set the start time of the opening range independent from the session start.

For example you may use an opening period for crude oil starting from 8:00 AM EST, but leave the session begin at 9:00 AM EST. The session break time at 9:00 AM can then be used by other indicators.

Or you can use an ETH template for ES, but calculate the opening range starting from 8:30 AM CT.

With respect to different daylight savings schedules, I have not allowed to enter the market open directly in local time. If you wish that the opening range should start prior to or after the session break you need to enter an offset. For the first subsession of the day only a positive offset is allowed, for the second and third subsession either positive or negative offsets can be entered.

I have also thought about allowing for different offsets depending on the day of the week. You could then use an opening range starting from 9:30 AM EST on Mondays, Tuesdays and Wednesdays, and an opening period starting from 8:30 AM on Thursdays and Fridays. Not yet coded, because I think it is a bit of an exotic idea.

I will put this indicator into the download section of the forum afterwards, but would invite anybody who has the courage to do so to participate in testing it. Please send me a private message, if you want to test.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 7 users say Thank You to Fat Tails for this post:
 
  #73 (permalink)
Banned: Vendor self-promotion
LA/CAlifornia REpublic
 
Futures Experience: None
Platform: NT7
Favorite Futures: Chello
 
Gabriyele's Avatar
 
Posts: 3,025 since May 2011
Thanks: 1,552 given, 5,369 received

BTopening Range (an update) :-)



Fat Tails View Post
Following request by a few members here, I have updated the opening range indicator. You can now set the start time of the opening range independent from the session start.

For example you may use an opening period for crude oil starting from 8:00 AM EST, but leave the session begin at 9:00 AM EST. The session break time at 9:00 AM can then be used by other indicators.

Or you can use an ETH template for ES, but calculate the opening range starting from 8:30 AM CT.

With respect to different daylight savings schedules, I have not allowed to enter the market open directly in local time. If you wish that the opening range should start prior to or after the session break you need to enter an offset. For the first subsession of the day only a positive offset is allowed, for the second and third subsession either positive or negative offsets can be entered.

I have also thought about allowing for different offsets depending on the day of the week. You could then use an opening range starting from 9:30 AM EST on Mondays, Tuesdays and Wednesdays, and an opening period starting from 8:30 AM on Thursdays and Fridays. Not yet coded, because I think it is a bit of an exotic idea.

I will put this indicator into the download section of the forum afterwards, but would invite anybody who has the courage to do so to participate in testing it. Please send me a private message, if you want to test.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Thank You @Fat Tails /Henry i've been using the BTopening range with much success!
Rjay has been kind enough to update it according to the specs that i was going after.

This is what we did, see if it is the same as your update!
Looking forward to start testing yourown update

Vielen Dank und viele GruBe!!




Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip BTOpeningRange3.zip (3.3 KB, 88 views)

Last edited by Gabriyele; January 20th, 2012 at 08:56 PM.
Reply With Quote
The following 4 users say Thank You to Gabriyele for this post:
 
  #74 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Gabriyele View Post
Thank You @Fat Tails /Henry i've been using the BTopening range with much success!
Rjay has been kind enough to update it according to the specs that i was going after.

This is what we did, see if it is the same as your update!
Looking forward to start testing yourown update

Vielen Dank und viele GruBe!!



@Gabriyele: Thank you for your comment.

I still do not understand why you want to calculate your opening range 1 hour after the session has started.

But yes, it can now be done with the opening range indicator.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Last edited by Fat Tails; January 20th, 2012 at 07:18 PM.
Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #75 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Who Wants to Write the User Manuals?

I admit being guilty of not having written user manuals explaining in detail how to use the indicators.


Displaying the Opening Range on ETH Charts


Let us say you do not want to use segment session templates, but prefer to use standard ETH session templates, which do not divide the day and do not break up any bars.

In that case you can now easily use the opening range indicator, which will align itself to your session, even if you are in a different time zone with different daylight savings rules.

Let us take the case of NQ. The ETH session for NQ starts at 3:30 PM CT and ends at 3:15 PM CT. You want to see the opening range starting from 8:30 AM CT. Now you have two options to get that opening range.


Option 1: First Session + 17:00 hours


You select the first session (which starts at 3:30 PM CT) and you apply a positive offset of 17 hours. This will give you the correct opening range from Tuesday to Friday, but for Monday you would need a positive of 15:30 hours, because that stupid Sunday session starts late. Also the indicator will not display the overnight range, if the opening range is applied to the first session.


Option 2: Second Session - 6:45 hours


The problem can be solved by applying the opening range to the second session and using a negative offset. Now you will tell me that there is no second session. Remember that you use an ETH template. It is absolutely true that there is no second session, but the indicator does not know it, while the first session is still running. So it will apply the negative offset to the session break after session 1 - which actually is the only session on the chart - and display the opening range. In that case, as the opening range is calculated for the second session, the overnight session range will be displayed as well.

Any comments welcome.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 4 users say Thank You to Fat Tails for this post:
 
  #76 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,697 since Oct 2009
Thanks: 3,041 given, 4,496 received


Fat Tails View Post
...

Option 1: First Session + 17:00 hours

You select the first session (which starts at 3:30 PM CT) and you apply a positive offset of 17 hours. This will give you the correct opening range from Tuesday to Friday, but for Monday you would need a positive of 15:30 hours, because that stupid Sunday session starts late. Also the indicator will not display the overnight range, if the opening range is applied to the first session.
...

Any comments welcome.

Why not ask the user to enter the start time and number of minutes to consider for the O.R. instead of using an offset ? This way you would avoid the stupid Sunday imbroglio.

For example, if i am interested by the opening range that starts at 8:00am EST (my time) then i'd just enter that with the length of time: 8:00 AM, 60 minutes.

Reply With Quote
 
  #77 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


trendisyourfriend View Post
Why not ask the user to enter the start time and number of minutes to consider for the O.R. instead of using an offset ? This way you would avoid the stupid Sunday imbroglio.

For example, if i am interested by the opening range that starts at 8:00am EST (my time) then i'd just enter that with the length of time: 8:00 AM, 60 minutes.


Depends on the Time Zone of the Exchange

Your suggestion has a short coming. It only works, if the exchange is located in your time zone. If it is not, for example

-> you are trading the FDAX from the US
-> a European trader trades any CME or Nymex instrument

then you would need to change the setting between summer and winter time, which makes impossible coherent charts and backtesting.

The solution adapted auto-adjusts to different daylight savings rules. The indicator uses the session template as defined in the local time of the exchange.

I have only added the offset for two reasons.

-> some users do not wish to use a segmented session template for various reasons, but prefer an ETH chart with a single session
-> some very clever users think that the opening range should not start with the open

In all cases it is best to align the opening range to the end of the session by a negative offset.


No Problems during Halloween

When the US switches belatedly to winter time in order to take away an hour of darkness from Halloween criminals, it now does not adversely affect my trading.

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #78 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Update Opening Range and IB Range Band Indicators

I have now updated the Opening Range and Initial Balance Range Bands indicator to V38.

The indicators can be found here:

https://futures.io/download/ninjatrader-7/indicators/620-download.html?view
https://futures.io/download/ninjatrader-7/indicators/851-download.html?view

The main improvement is the offset added to allow for

-> selecting opening periods not aligned to the start of the RTH session
-> displaying RTH opening ranges on charts with an ETH session template

Example attached below.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 8 users say Thank You to Fat Tails for this post:
 
  #79 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

I have had some requests to further enhance the Opening Range Indicator.

After the last change, with which I had introduced an offset for the start time, I have now added an option that the opening range can either be drawn

-> until the end of the current session
-> until the end of the trading day

The new option somehow interfered with the other option to select an offset, and the two options together have sinigificantly increased the complexity of the code. The first version that I had put in the download section had a bug, when an offset was selected.

Hopefully, the latest version will work as expected. I would be happy, if anybody is willing to test the indicator.

https://futures.io/download/ninjatrader-7/indicators/620-download.html?view

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Last edited by Fat Tails; February 15th, 2012 at 08:09 PM.
Reply With Quote
The following 6 users say Thank You to Fat Tails for this post:
 
  #80 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,697 since Oct 2009
Thanks: 3,041 given, 4,496 received


Can you share your session template that you used in your chart for the new OR ?

Reply With Quote

Reply



futures io > > > > > BT OPENING RANGE INDICATOR - without vertical lines at session changes

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
Opening Range Indicator - small glitch Todd NinjaTrader Programming 27 October 10th, 2014 05:21 PM
ORP (Opening Range Projections) TAJTrades Traders Hideout 13 May 29th, 2011 04:17 AM
Opening Range Play in FGBL max-td Traders Hideout 14 July 31st, 2010 06:49 PM
vertical lines Jeff Castille NinjaTrader Programming 6 October 20th, 2009 06:15 PM
Opening Range Indicator msocks The Elite Circle 0 September 16th, 2009 12:58 AM


All times are GMT -4. The time now is 11:23 AM.

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-13 in 0.18 seconds with 20 queries on phoenix via your IP 54.227.51.103