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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
164 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
85 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
126 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
207 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
185 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment