PS. To clarify with a larger test period it previously had taken 1,000 trades and now takes 13.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy backtest works and then doesn't
Collapse
X
-
Strategy backtest works and then doesn't
I have been back testing a strategy today; it's been taking each and every trade and then all of a sudden it's now just taking one trade and then stopping (despite having done nothing). Any thoughts as to what might cause that to happen?
PS. To clarify with a larger test period it previously had taken 1,000 trades and now takes 13.Last edited by darrentate; 02-26-2015, 01:09 PM.Tags: None
-
It's not producing any errors to the output screen or the log.
I previously had this problem; I removed some code that produced a 30 minute VPS heartbeat and it worked fine. Now suddenly it's gone back to how it was (the code is still out) taking barely 10% of the trades.
The script is multitime frame and contains barsinprogress and a barssinceentry clause (which I have removed to no avail). It's running using historical data in the strategy analyser.
The only weird thing I've noticed that occurs is that at the very end it producedssome output showing that's its running again but on another instrument (that's not even selected nor mentioned in the code). Just a few lines and nothing else.
Comment
-
Hello darrentate,
Thank you for your response.
Please send me your log and trace files for today so that I may look into what occurred.
You can do this by going to the Control Center-> Help-> Mail to Platform Support.
Please reference this thread in the subject of the e-mail: "http://www.ninjatrader.com/support/forum/showthread.php?t=72254"
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
661 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
375 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
579 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment