Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using Limit Order and Cancellation

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

    Using Limit Order and Cancellation

    Is it possible when using an ATM Limit order method to use a cancellation of the order, say when the price moves away 2 ticks from Limit order in a strategy.
    Note I need to have Calculate on Bar close = true.

    Is it possible to do this via the
    GetAtmStrategyEntryOrderStatus command?



    Thanks

    #2
    Hi jthom,

    For this, you can use..

    AtmStrategyCancelEntryOrder()

    More info at - http://www.ninjatrader-support.com/H...tryOrderStatus

    Which should be used with CalculateOnBarClose=false, for your condition, so you will need to separate the logic to include CaclulateOnBarClose=false in some areas and true in others.
    More info at - http://www.ninjatrader.com/support/f...ad.php?t=19387
    TimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    18 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X