Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Developer Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Strategy Developer Help

    Is there a way using the strategy developer to add a button or check box somewhere?

    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?

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    62 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    53 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    59 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    48 views
    0 likes
    Last Post CarlTrading  
    Working...
    X