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);

    http://ninjatrader.com/support/helpG...hangeorder.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Franck Z, Today, 09:49 AM
    0 responses
    4 views
    0 likes
    Last Post Franck Z  
    Started by pvtrader, Today, 08:02 AM
    2 responses
    7 views
    0 likes
    Last Post pvtrader  
    Started by Natoc, Today, 03:04 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by Rudy2323, Today, 02:56 AM
    2 responses
    26 views
    0 likes
    Last Post Rudy2323  
    Started by tonynt, Yesterday, 02:07 PM
    1 response
    34 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X