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 NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
95 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
153 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
80 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
54 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
70 views
0 likes
|
Last Post
|

Comment