Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

LimitChanged

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

    LimitChanged

    Hello,

    I have created an Buy Limit Order. If I have to change the Limit price for this order what is the procedure?. knowing that the Limit property of the Order is only "get" I cannot set it. I have seen that Order has LimitChanged property which is get; set. I have updated this property but the order's limit has not been changed.
    Am I doing it wrong? if yes then what is the correct procedure to udpate the Order's limit price.

    Thanks,
    Subhash

    #2
    Hello Subhash,

    I have moved your post to the NinjaTrader 8 Strategy Development section of the forums as this appears to be an inquiry about a NinjaScript Strategy and not a NinjaScript Indicator.

    To change an order, either call the order method again with the same signalName, or save the Order object to a variable and call ChangeOrder with the variable.

    EnterLongLimit(1, 1500, "myLimit");

    EnterLongLimit(1, 2000, "myLimit");

    or

    Order myEntry;

    myEntry = EnterLongLimit(1, 1500, "myLimit");

    ChangeOrder(myEntry, 1, 2000, 0);

    Chelsea B.NinjaTrader Customer Service

    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
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    47 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