Also is there a way to make it to where after my stop and tp are placed i can move them without causing the strategy to disable?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Developer Help
Collapse
X
-
Hi Shiner452, thanks for posting. The strategy builder can not add custom buttons or controls. One would need to create an unlocked script to do this. A stop loss and profit target can be adjusted intrabar, but they will be put back to the original position after the bar closes because they get re-submitted on every bar. This will not disable the strategy, only pressing the Close button on Chart Trader will do that. The script would need to be unlocked and then you can submit an Exit order that can be kept alive without needing to resubmit e.g.
ExitLongStopMarket(int barsInProgressIndex, bool isLiveUntilCancelled, int quantity, double stopPrice, string signalName, string fromEntrySignal)
Kind regards,
-ChrisL
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
56 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
33 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
195 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
359 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
280 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment