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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    597 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X