Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bracket orders
Collapse
X
-
Bracket orders
Hello, I need to activate bracket orders in backtesting strategy, How can I do it? I mean, when I buy or sell trailing stop loss and target price are activated automatically. To exit positions trading system use only trailing stop and target.
Thanks!Tags: None
-
Hello U0000999,
Thank you for the post.
ATM strategies in a NinjaScript strategy will only run in real time. To backtest a strategy that uses trailing stops and profit targets, you can use SetTrailStop() and SetProfitTarget().
Please also see this reference sample that shows how you can adjust the price of your stop and target:
Please let me know if I can assist further.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
61 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment