I was performing a backtest to confirm it matched with my live results but the backtest is not showing any trades for 2025 when it has in fact taken trades. I am having this issue with a couple strategies while others are working as they should. There have been no issues running the strategies live, I am unsure of what the issue could be. Any help would be appreciated.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Backtest shows no trades in 2025 - strategy has taken trades
Collapse
X
-
Backtest shows no trades in 2025 - strategy has taken trades
Hello,
I was performing a backtest to confirm it matched with my live results but the backtest is not showing any trades for 2025 when it has in fact taken trades. I am having this issue with a couple strategies while others are working as they should. There have been no issues running the strategies live, I am unsure of what the issue could be. Any help would be appreciated.Tags: None
-
Hello Sumertyme08,
Thank you for your post.
Is the test resulting in no trades at all, or specifically no trades in 2025?
Have you enabled TickReplay (if you are using Calculate.OnEachTick or OnPriceChange) and implemented 1-tick intrabar granularity?
Live orders are filled on an exchange with a trading partner on an agreed upon price based on market dynamics. Backtest orders are not using these market dynamics. Instead these are filled based on logical rules from processing historical data.- When in historical data, only the Open, High, Low, and Close will be available and there will be no intra-bar data.
- This means actions cannot happen intra-bar, fills cannot happen intra-bar. All prices and actions come from and occur when the bar closes as this is all the information that is known
- Because of this, OnBarUpdate will only update 'On bar close' as it does not have the intra-bar information necessary for 'On price change' or 'On each tick' and the script will not have the intra-bar information to accurately fill an order at the exact price and time.
- This allows for more accurate trades by supplying the correct price at the correct time for the order to fill with. The orders placed will need to use the BarsInProgress (BarsArray) index of that finer resolution series.
In NinjaTrader 8, there have been two new enhancements so that programmers may not have to manually add this secondary series and code the script for high accuracy fills (Order Fill Resolution) or for intra-bar actions (TickReplay) depending on the needs of the script.
Note: bar types that are IsRemoveLastBarSupported cannot be used with TickReplay and generally cause inaccurate results when backtesting in historical data.
Note: High Order Fill Resolution allows for intra-bar order fills with historical processing, but is not compatible with Tick Replay.
Please see this support article for a detailed explanation:
https://support.ninjatrader.com/s/ar...ar-granularity
- When in historical data, only the Open, High, Low, and Close will be available and there will be no intra-bar data.
-
Thank you for the response. It’s showing no trades specifically in 2025, prior to that it’s showing trades.
the order fill resolution is set to high. This strategy takes quite a few trades so there would definitely should be trades shown.
the strategy is also coded on bar close so there are no instead bar issues.
Comment
-
Hello,
To get a better understanding of what is going on, please answer all of the following questions:- What version of NinjaTrader are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.?.?.?)
- Do you see similar results when running the same test on the SampleMaCrossOver strategy in NinjaTrader with the same settings as your strategy? (meaning is the SampleMACrossover also not returning results for 2025?)
- Who are you connected to? This is displayed in green in the lower-left corner of the Control Center window.
- Are you connected to your data feed provider when running this test?
- What instrument(s) (and expiry if applicable) have you selected?
- What Data Series Type have you selected? Example: Tick, Minute, Day
- What From and To date is selected?
- If you open a chart for the same instrument(s) and the same date range, then right-click the chart and select 'Reload all historical data' is the historical data showing on the chart?
- Is your strategy a multi-instrument or multi-time frame strategy?
- Do you receive an error on the screen? Are there errors on the Log tab of the Control Center? If so, what do these errors report?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
20 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
119 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment