• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Keeping orders open

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

    Keeping orders open

    When my conditions are met I have limit orders to scale in, either short or long. How do I keep those orders on for the next couple bars. The ones that don't get filled are cancelled after the condition bar closes.

    Thanks

    #2
    Hello dedouglas,

    If isLiveUntilCancelled is not used the default value is false.

    When false, orders will be cancelled when the bar closes.

    You can use the isLiveUntilCancelled bool and set this to true, or you can also resubmit the order on the next bar to keep the order alive.

    An example of orders that are kept alive by resubmitting them can be found here.
    https://ninjatrader.com/support/foru...427#post527427

    Below is a link to the help guide on EnterLongLimit() and ExitLongLimit().
    https://ninjatrader.com/support/help...rlonglimit.htm
    https://ninjatrader.com/support/help...tlonglimit.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NT-Roland, Today, 10:03 AM
    0 responses
    2 views
    0 likes
    Last Post NT-Roland  
    Started by kevinfloresz, Today, 09:46 AM
    0 responses
    10 views
    0 likes
    Last Post kevinfloresz  
    Started by tvaughan4, 12-13-2019, 10:46 PM
    2 responses
    19 views
    0 likes
    Last Post tvaughan4  
    Started by digibob, 12-13-2019, 10:01 PM
    3 responses
    13 views
    0 likes
    Last Post digibob
    by digibob
     
    Started by ldissinger, Yesterday, 12:55 PM
    1 response
    21 views
    0 likes
    Last Post ldissinger  
    Working...
    X