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

  #81 (permalink)
 
trs3042's Avatar
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
Posts: 1,617 since Jun 2009
Thanks Given: 23,764
Thanks Received: 5,616


Silvester17 View Post
I don't think this is correct.

your quote about range bars:

"simply, the open of the following candle is always the SAME as the close of the previous candle"

according to my understanding (as well as your source investopedia), the open of a new range bar MUST be outside of high/low of previous bar. and that of course includes the closing price.



so I believe if you use no gap range charts, you'll get a wrong opening price if there's a gap. because of the virtual open. nt's range bars are correct.

Thanks Silvester. I've come to the same conclusion.

Rick

"If you're going to panic during a trade............. panic early."
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
GFIs1 1 DAX trade per day journal
22 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
The Program
19 thanks
  #82 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


TheGaryGuy View Post
Rick,
1) What is the source of the (indicator) that puts your highs and lows for the day on the chart? (remembering that Range bars are not time dependent)

2) Did you check to see the day bars to see if the No-gap chart highs and lows are more or less accurate than the Default NT range bars.

Thanks, Gary
P.S. NT support staff told me to use RJay's NoGapRange bar charts for range bars if I want to avoid the 1 or more ticks lost per entry and exit in backtesting. NT does not use industry standard Range bars. If a strategy uses end of bar as the trigger time an order placed then will loose a tick as the next candle skips a tick to the open.

I would be very careful about that conclusion.

with no gap range bars your backtests will give you a wrong result. of course it'll show a better performance , but certainly not realistic because the open of the next bar has to be a tick higher or lower. in your case you would backtest a wrong opening price. in no gap range bars, the open is set to be equal to the close of previous bar, which is not the "real" opening price, just a virtual price.

so again, be careful

Reply With Quote
Thanked by:
  #83 (permalink)
 TheGaryGuy 
Bellevue, WA/USA
 
Experience: Advanced
Platform: NinjaTrader, TOS, TDAmeri
Broker: ThinkOrSwim, TastyWorks.com, TDAmeritrade, Interactive Brokers (soon)
Trading: Index and Stock options, Stocks (seldom), Nadex (just starting), Forex
Posts: 33 since Oct 2012
Thanks Given: 47
Thanks Received: 26



Silvester17 View Post
I don't think this is correct.

your quote about range bars:

"simply, the open of the following candle is always the SAME as the close of the previous candle"

according to my understanding (as well as your source investopedia), the open of a new range bar MUST be outside the high/low of previous bar. and that of course includes the closing price.



so I believe if you use no gap range charts, you'll get a wrong opening price if there's a gap. because of the virtual open. nt's range bars are correct.

Sorry that this is getting religious.. and I repeat both bars and charts are correct. "From a certain point of view" (quote from original StarWars). I am sure the NT programmers read the definition the same way you did, "open must be outside the range of the previous bar". You are right, the price must move 1 tick (the minimum movement possible) outside the range of the original candle's range for a new candle to begin to be formed.

With Range-no-gap bars the open of the next candle is the same as the close of the previous candle. To some of us that continuity of price makes sense and it is very useful for backtesting but not too accurate for real time trading except if you are using limit orders set to the close of the trigger candle. Personally I really like RJay's Range-no-gap bars for what I do.

I also work on the TOS platform and their range bars follow RJay's style. Any input from others with platforms that use Range bars? Multi-charts? AMIBroker? Tradestation?

Reply With Quote
Thanked by:
  #84 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


TheGaryGuy View Post
Sorry that this is getting religious.. and I repeat both bars and charts are correct. "From a certain point of view" (quote from original StarWars). I am sure the NT programmers read the definition the same way you did, "open must be outside the range of the previous bar". You are right, the price must move 1 tick (the minimum movement possible) outside the range of the original candle's range for a new candle to begin to be formed.

With Range-no-gap bars the open of the next candle is the same as the close of the previous candle. To some of us that continuity of price makes sense and it is very useful for backtesting but not too accurate for real time trading except if you are using limit orders set to the close of the trigger candle. Personally I really like RJay's Range-no-gap bars for what I do.

I also work on the TOS platform and their range bars follow RJay's style. Any input from others with platforms that use Range bars? Multi-charts? AMIBroker? Tradestation?

not to worry, at least no problem from my side

I'm a tos user as well and very pleased when they introduced the range bars. but then very disappointed when I found out how they created them. I've already contacted tos about their wrongly coded range bars and hopefully they'll correct them.

I use range bars a lot, especially for order flow (like volume ladder) most helpful. one thing I don't like are phantom (virtual) bars. I prefer to pay attention only to facts. even if the other way would look nicer. having said that, even normal range bars create sometimes phantom bars when price jumps a tick. that's the reason I'm using kase bars. no phantom bars, only facts. a bar that prints only when price actually traded at that price.

Reply With Quote
Thanked by:
  #85 (permalink)
 Stops5 
Tampere/Finland
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Edge Clear
Trading: Futures
Frequency: Daily
Duration: Days
Posts: 90 since Mar 2011
Thanks Given: 297
Thanks Received: 91

Hi,

Lately there have been big offset number especially in CL when new contract is rolled over and that mess up rangenogap bartype badly and with longterm rangenogap chart it stays visible for weeks. Somehow the bartype opens the same amount as rollover offset is when the contract changes. Does anyone else have the same problem? I'm using MergeBackAdjusted charts. Any ideas how to fix it/can someone fix that bug, please?



Reply With Quote
  #86 (permalink)
 Cristian 
Bucharest - Romania
 
Experience: None
Platform: NT, SC, MC, MW
Broker: NinjaBrokerage
Trading: ES
Posts: 40 since May 2011
Thanks Given: 5
Thanks Received: 43

Hi,
Can anyone tell me please how can I remove this type of bar from Ninja since it does not shows itself in
..NinjaTrader 7\bin\Custom\Type ?

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


Cristian View Post
Hi,
Can anyone tell me please how can I remove this type of bar from Ninja since it does not shows itself in
..NinjaTrader 7\bin\Custom\Type ?

Since you already know where the file is located, delete it. Then open Ninjatrader editor with any cs file and compile. Then restart NinjaTrader. Done.

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

I really like the way RJay's RangeNoGap works. The chart looks much cleaner indeed, but it creates phantom bars showing false ETH/RTH session open, and I don't like to see bars at prices where no trades took place.
Is it possible to create RangeNoGap bars without the phantom bars on NT7?

Reply With Quote
  #89 (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 really like the way RJay's RangeNoGap works. The chart looks much cleaner indeed, but it creates phantom bars showing false ETH/RTH session open, and I don't like to see bars at prices where no trades took place.
Is it possible to create RangeNoGap bars without the phantom bars on NT7?

Can you post charts showing what you are talking about?

Started this thread Reply With Quote
  #90 (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
Can you post charts showing what you are talking about?

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?

Attached Thumbnails
Click image for larger version

Name:	ETH.JPG
Views:	155
Size:	230.4 KB
ID:	191414   Click image for larger version

Name:	RTH.JPG
Views:	132
Size:	229.3 KB
ID:	191415  
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