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 Rapine Heihei, Today, 08:19 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 08:19 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
4 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
4 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
96 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
6 responses
49 views
0 likes
|
Last Post
by algospoke
Today, 06:18 PM
|
Comment