Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
I Keep getting this error message when I try to backtest my strategy on Playback
Collapse
X
-
I Keep getting this error message when I try to backtest my strategy on Playback
The positions still stays but stop and profit disappear whenever this message occurs. I’m pretty sure there’s some kind of conflict. But i’m not sure how, where, or what to fix lol1 PhotoTags: None
-
-
Thanks for the feedback Chris....
Could you explain how I could change the Stop to Above or At the ask price?
Comment
-
Hi Rafael,
There can be many ways to set a stop. To set a stop to breakeven you can set the order using the prices: Position.AveragePrice or GetCurrentAsk() to set it at the closest possible market price. I attached a pre-made strategy builder example that implements a break even as well.
Kind regards,
-ChrisLAttached FilesLast edited by NinjaTrader_ChrisL; 08-11-2021, 03:13 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
89 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment