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,408 / 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

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

One bug fixed, the other one not fixed

With NinjaTrader release NT 7.0.1000.5 one bug was fixed, they other one was not fixed. For more details see here:

https://futures.io/ninjatrader/980-truth-ninjatrader-74.html#post120184

I have checked again the code of the opening range indicator. It uses the flawed method GetNextBeginEnd() which which may return false values under specific conditions.

The bug only affects charts built from ticks (tick, volume, range, BetterRenko) with small periods, as used by scalpers. The problem is triggered by a first bar of session, which closes prior to 0:00:00:500 after the session begin.

Example: You trade ES and use a session template such that the session begin is the open at 8:30:00 CT. If the first bar of the session closes prior to 8:30:00:500, the bar will be attributed a time stamp of 8:30:00 by NinjaTrader. GetNextBeginEnd() may return the start time of the prior session instead of the current session.

I will leave a note here once the problem is fixed. The indicator can be used safely on minute bars and on all charts that do not fire bars within fractions of seconds.

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

Both bugs removed

I have to correct my previous post. GetNextBeginEnd() has a new overload, which I was not aware of, and which I could use for the indicator. The opening range indicator should now also work correctly on micro charts built from ticks.

I have also added some comfort to the indicator, the opening range can now be colored. Please test the version below, if you do not find any bugs, I will put it into the download sections.

The indicator requires NT 7.0.1000.5 or later, as the signature of GetNextBeginEnd() will not be recognized by earlier versions.

Attached Thumbnails
BT OPENING RANGE INDICATOR - without vertical lines at session changes-ym-06-11-5-min-16_05_2011.jpg  
Attached Files
Register to download File Type: zip OpeningRangeV32.zip (8.3 KB, 83 views)
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #43 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Have updated the OpeningRange indicator in the Download section of the forum.

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

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

OpeningRangeV33 Indicator

Have updated the indicator again, as V32 sometimes refused to plot. The problem was related to the use of GetNextBeginEnd() in the custom Plot() of the indicator and should be fixed now.

The new version of the indicator can be downloaded here:

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


It will only work with NT 7.0.1000.5 or later.


Attached Thumbnails
BT OPENING RANGE INDICATOR - without vertical lines at session changes-es-06-11-15-min-24_05_2011.jpg  
Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
  #45 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,332 since Aug 2009
Thanks: 4,579 given, 10,313 received

@Fat Tails,

noticed something with the opening range indicator.

this time when you scroll all the way to the right I get the following error message.

was using TF on a 5 min chart, single data series, version V33

Attached Thumbnails
BT OPENING RANGE INDICATOR - without vertical lines at session changes-2011-06-09_1844.png  
Reply With Quote
The following user says Thank You to Silvester17 for this post:
 
  #46 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Silvester17 View Post
@Fat Tails,

noticed something with the opening range indicator.

this time when you scroll all the way to the right I get the following error message.

was using TF on a 5 min chart, single data series, version V33

Thanks for reporting, I can see it here as well.

I checked all V33 indicators again, the OpeningRangeV33 is the only one that shows this behavior. It only occurs when horizontally scrolling the chart to the beginning.

It is possibly linked to the custom plot of the indicator, so it won't do any harm. Will explore this today and come back.

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

Had a look at the indicator. It was problem with the training period. When the indicator is put on a chart, it first does not know, how many sessions per day were selected by the user for the template. So it has to collect this information, before it can properly work.

During the training period a different logic is necessary to produce the presession range. For this reason the OpeningRangeV33 indicator produced an exception in the plot override section of the indicator, when you scrolled back to the beginning of the chart.

Some users who do not have historical tick data, but use real-time tick data, which they store over a few days may have problems with it.

To address the problem I have modified the indicator, as per version V34X1 attached below. I would appreciate, if anyone has the time to test it against the old version. You need to put on the pre-session range to check for the difference.

Thank you.

The indicator works with NT 7.0.1000.5 or later.

Attached Files
Register to download File Type: zip OpeningRangeV34X1.zip (8.4 KB, 54 views)
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #48 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,332 since Aug 2009
Thanks: 4,579 given, 10,313 received


Fat Tails View Post
Had a look at the indicator. It was problem with the training period. When the indicator is put on a chart, it first does not know, how many sessions per day were selected by the user for the template. So it has to collect this information, before it can properly work.

During the training period a different logic is necessary to produce the presession range. For this reason the OpeningRangeV33 indicator produced an exception in the plot override section of the indicator, when you scrolled back to the beginning of the chart.

Some users who do not have historical tick data, but use real-time tick data, which they store over a few days may have problems with it.

To address the problem I have modified the indicator, as per version V34X1 attached below. I would appreciate, if anyone has the time to test it against the old version. You need to put on the pre-session range to check for the difference.

Thank you.

The indicator works with NT 7.0.1000.5 or later.

thanks fat tails.

I'm testing the 2 version against each other. so far no difference. except no error message with new version of course. will report back if I find anything else.

much appreciated.

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


Silvester17 View Post
thanks fat tails.

I'm testing the 2 version against each other. so far no difference. except no error message with new version of course. will report back if I find anything else.

much appreciated.

The new version should plot differently for the training period of the indicator, which are the first 24 hours of your chart. You will only notice, if you horizontally scroll back to the beginning. Otherwise there should not be any differences.

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

Opening Range V34


Thanks again to @Silvester17 for having identified the bug.

I have uploaded the new version V34 of the Opening Range Indicator to the download section.

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

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:

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 10:15 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-14 in 0.13 seconds with 20 queries on phoenix via your IP 54.90.207.75