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 soon123, Today, 12:18 AM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by space_trader, Today, 12:52 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ybhx0315, Yesterday, 09:06 PM
    0 responses
    15 views
    0 likes
    Last Post ybhx0315  
    Started by parkinsonbr, Yesterday, 08:23 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by fxRichard, Today, 04:35 AM
    2 responses
    14 views
    0 likes
    Last Post fxRichard  
    Working...
    X