Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Live Until Cancelled Using Strategy Builder

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

    Live Until Cancelled Using Strategy Builder

    Hello everyone, I know there is a way to accomplish this but my skills are limited and I am only used to coding with Strategy Builder. Is there a way to enable live until cancelled with strategy builder?

    I currently have a very basic strategy that places Stop Limit Orders 1 tick above the high of Inside Bars (that close over a moving average) and 1 tick below the low of inside bars that close under the moving average)

    The orders cancel if they do not get filled within the next bar. Is there a way for me to keep them open until they either get filled or replaced with a new signal?

    #2
    Hello habeebft,

    Live until cancelled is a manually coded feature, that is not available in the strategy builder. To keep an order alive in the builder you need to keep calling the entry method for each bar close event. Your entry condition needs to remain true until the order has filled, most commonly that would be accomplished by adding a position check condition, if the position is flat and the bar closes resubmit the order. If the position is not flat the entry condition is no longer true because the order filled.



    Comment

    Latest Posts

    Collapse

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