Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Market Replay vs Back Test results
Collapse
X
-
Hello Malletto,
Thanks for your notes.
When testing the strategy on minute bars there could still be discrepancies when comparing backtest results to realtime results unless you add intrabar granularity to your strategy.
Add intrabar granularity to your strategy if you want the backtest results to be more accurate.
See more about intra-bar granularity here.
https://ninjatrader.com/support/forum/forum/ninjatrader-8/strategy-development/94098-isfirsttickofbar-vs-onbarclose-for-backtest-live?p=773377#post773377
If you cannot program the script to include intrabar granularity yourself, you could contact a professional NinjaScript consultant who would be happy to assist you.
You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!
https://ninjatraderecosystem.com/sea...mming-services
Educators - https://ninjatraderecosystem.com/sea...ures=education
You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.
This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
Hey Brandon, I wanted to follow up on here to see what the outcome was with Malletto. I spent several weeks doing a deep dive into this and it appears there's a GROSS mismatch of timestamps with NinjaTrader's Kagi chart. Based on all my data, it's not the strategies fault. No matter how much intra-bar granularity you have, it will not improve the results. I have a script that has tick series built in and what it shows is that the time stamping of Kagi bars on NinjaTrader's end is what makes the results impossible to replicate in a live environment.
Is that the same conclusion that was reached with Malletto? If so, is there anything being done on the backend side to improve the mismatch in timestamps? Thanks for your help.
Comment
-
Hello Ymcapital,
Thanks for your notes.
The timestamps of Kagi bars in the Strategy Analyzer Chart display do not match the timestamps on a regular chart window.
This has been reported to the development team and they will be investigating this matter further. Once the development team is finished investigating this matter, I will update this forum thread with their findings.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
Hello Malletto,
Thanks for your notes.
We do not have an update regarding the behavior reported to the development team at this time.
Further, we do not have an ETA regarding when they will be done investigating this matter.
Once the development team has finished looking into this behavior I will update this forum thread with their findings.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
That's good to know. I spent a disgusting amount of time really trying to dig through this. I thought it would be a quick project looking at this and finding what you were saying to be validated and the more I dug, the more I found the timestamps not matching up and the discrepancies piling up. I'd appreciate knowing when this is resolved. Thanks.Originally posted by NinjaTrader_BrandonH View PostHello Ymcapital,
Thanks for your notes.
The timestamps of Kagi bars in the Strategy Analyzer Chart display do not match the timestamps on a regular chart window.
This has been reported to the development team and they will be investigating this matter further. Once the development team is finished investigating this matter, I will update this forum thread with their findings.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
56 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
17 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment