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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
47 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
22 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
33 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment