Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy won't backtest...
Collapse
X
-
Strategy won't backtest...
I have a strategy written, it's a little complex, runs on tick bars with a data Added for minute bars, defaults to calculate on bar close =true. The idea is to have "look inside bar backtesting" and a backtest that is exactly the same as running the strategy on realtime tick bars. It works exactly as planned going forward on Market Replay data on a chart but when backtested it gets no trades... Any clues as to what I'm doing wrong here?Tags: None
-
I have print messages for every variable, it gives me a snapshot of the entire strategy in the Output window every tick when running on charted tick data but nothing shows up during a backtest. I added TraceOrders to the strategy and nothing shows up also...
Setting the minimum bars before beginning execution of code is a little sticky, it would be straightforward if I could use the Added data for that but I have to use the primary data and guess how many ticks will go by before I have enough minute bars to start....
Nothing is showing up in the log.
I'll provide some code after awhile...
Comment
Latest Posts
Collapse
| Topics | Statistics | 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
62 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
40 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
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
82 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment