NexusFi: Find Your Edge


Home Menu

 





NoGapRangeBars / RangeNoGap


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one RJay with 27 posts (42 thanks)
    2. looks_two trs3042 with 6 posts (9 thanks)
    3. looks_3 Silvester17 with 5 posts (7 thanks)
    4. looks_4 cclsys with 5 posts (0 thanks)
      Best Posters
    1. looks_one RJay with 1.6 thanks per post
    2. looks_two trs3042 with 1.5 thanks per post
    3. looks_3 Silvester17 with 1.4 thanks per post
    4. looks_4 TheGaryGuy with 1.2 thanks per post
    1. trending_up 51,430 views
    2. thumb_up 86 thanks given
    3. group 28 followers
    1. forum 100 posts
    2. attach_file 30 attachments




 
Search this Thread

NoGapRangeBars / RangeNoGap

  #91 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787


bbviolation View Post
In the screenshots, the 1m chart and the RJay's RangeNoGap 5 tick chart show two different ETH opens/closes and
RTH opens. Also, after the ETH open, price has never traded above 42.74 for the first 30 minutes, but the RJay's RangeNoGap
shows that it's traded up to 42.80 right after the open.
RJay's RangeNoGap seems to be ignoring the session break lines?

RNG is a tick based chart. You are comparing to time based charts. They use different data and will not be the same.

Try a comparison with Ninjatrader's Range charts. They use the same data as RNG.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #92 (permalink)
 bbviolation 
LA, CA/USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 5 since Sep 2011
Thanks Given: 10
Thanks Received: 0


RJay View Post
RNG is a tick based chart. You are comparing to time based charts. They use different data and will not be the same.

Try a comparison with Ninjatrader's Range charts. They use the same data as RNG.

The results are identical. RNG has inserted a couple of bars after the ETH open that NT's default range bar chart
doesn't have. Can you reproduce this on your end? I'm using Rithmic.

Attached Thumbnails
Click image for larger version

Name:	ETH01.JPG
Views:	140
Size:	209.9 KB
ID:	191493   Click image for larger version

Name:	RTH01.JPG
Views:	130
Size:	196.3 KB
ID:	191494  
Reply With Quote
  #93 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787



bbviolation View Post
The results are identical. RNG has inserted a couple of bars after the ETH open that NT's default range bar chart
doesn't have. Can you reproduce this on your end? I'm using Rithmic.

NinjaTrader force closes the active bar at the end of the session on their charts.

I removed this code because I want my charts to flow from one bar to the next 7/24.

Its just one line of code to put Ninja's terminated bar back.

Replace this line of code

if (bars.Count == 0 )

With this

if (bars.Count == 0 || bars.IsNewSession(time))

Started this thread Reply With Quote
Thanked by:
  #94 (permalink)
 bbviolation 
LA, CA/USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 5 since Sep 2011
Thanks Given: 10
Thanks Received: 0


RJay View Post
NinjaTrader force closes the active bar at the end of the session on their charts.

I removed this code because I want my charts to flow from one bar to the next 7/24.

Its just one line of code to put Ninja's terminated bar back.

Replace this line of code

if (bars.Count == 0 )

With this

if (bars.Count == 0 || bars.IsNewSession(time))

I've turned off the NT, deleted AARangeNoGapNT7.cs file from ..Ninjatrader 7/bin/Custom/Type folder,
replaced the code in NoGapRangeBars_NT7.zip file just like you said, and re-imported the zip file after restarting the NT.

The change was applied only to the 8/26 ETH close onward. Starting with the 8/26 ETH close, there are no more
phantom bars, and the bar type respects the session break line so it looks just like NT's default range bar chart,
but everything prior to the 8/26 ETH close looks exactly the same as before -- the phantom bars are still present,
and the session break line is not respected.

Is there something else I should change?

Reply With Quote
  #95 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787


bbviolation View Post
I've turned off the NT, deleted AARangeNoGapNT7.cs file from ..Ninjatrader 7/bin/Custom/Type folder,
replaced the code in NoGapRangeBars_NT7.zip file just like you said, and re-imported the zip file after restarting the NT.

The change was applied only to the 8/26 ETH close onward. Starting with the 8/26 ETH close, there are no more
phantom bars, and the bar type respects the session break line so it looks just like NT's default range bar chart,
but everything prior to the 8/26 ETH close looks exactly the same as before -- the phantom bars are still present,
and the session break line is not respected.

Is there something else I should change?

Right click on the chart and select dataseries.
Try selecting reload all historic data to clear the tick tables for this chart setting. If that does not work you will need to manually delete the historic data files and download new data from Ninjatrader's historic data servers.

Started this thread Reply With Quote
Thanked by:
  #96 (permalink)
 bbviolation 
LA, CA/USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 5 since Sep 2011
Thanks Given: 10
Thanks Received: 0


RJay View Post
Right click on the chart and select dataseries.
Try selecting reload all historic data to clear the tick tables for this chart setting. If that does not work you will need to manually delete the historic data files and download new data from Ninjatrader's historic data servers.

Thanks.

Reply With Quote
  #97 (permalink)
 Vozdovac 
IL
 
Experience: Advanced
Platform: NinjaTrader
Trading: ES
Posts: 19 since Aug 2011
Thanks Given: 13
Thanks Received: 16

I have a quick question regarding the no-gap range bar. If we are using a 4 tick setting, does the bar print 4 ticks higher or lower than the high/close, or does the bar print when there is 4 consecutive ticks in the same direction?

If a new bar goes +2 ticks and from that point goes -4 from that +2 level will the bar print? If somebody can clarify this that would be great! I did read through the thread but wanted to make sure.

Thanks

Reply With Quote
  #98 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787


Vozdovac View Post
I have a quick question regarding the no-gap range bar. If we are using a 4 tick setting, does the bar print 4 ticks higher or lower than the high/close, or does the bar print when there is 4 consecutive ticks in the same direction?

If a new bar goes +2 ticks and from that point goes -4 from that +2 level will the bar print? If somebody can clarify this that would be great! I did read through the thread but wanted to make sure.

Thanks


When the range between bar high and bar low exceeds the number of price ticks selected, a new bar is formed.

Started this thread Reply With Quote
Thanked by:
  #99 (permalink)
 Dasani 
United States of America
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader
Trading: ES
Posts: 92 since Dec 2009
Thanks Given: 35
Thanks Received: 40

Are these no gap range bars available for NT8 anywhere here on this site? I have looked everywhere and can not find them. Thanks.

Reply With Quote
  #100 (permalink)
 Obelixtrader 
Slovakia
 
Experience: Intermediate
Platform: Ninjatrader 8
Broker: Interactive Brokers,Tastytrade,Birdwingo
Trading: K200M,KOSDQ150,US stock option
Posts: 220 since Aug 2009
Thanks Given: 116
Thanks Received: 109



Dasani View Post
Are these no gap range bars available for NT8 anywhere here on this site? I have looked everywhere and can not find them. Thanks.

in mini chart you have no gap range bars included

Reply With Quote




Last Updated on August 20, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts