Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
Trading: Index and Stock options, Stocks (seldom), Nadex (just starting), Forex
Posts: 33 since Oct 2012
Thanks Given: 47
Thanks Received: 26
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?
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.
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?
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.
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?
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?