Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Flatten by account automatically in NT8

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

    Flatten by account automatically in NT8

    Hi,

    Is there a way to set up an automatically flatten everything at the EOD for a particular account in NT8? I want to run a trading strategy where all positions are closed at the EOD however will not always be in front of the screen to do it.

    I have read the manual but could not spot it.

    Thanks
    Robbo

    #2
    Hello Robbo,

    Thanks for your post and welcome to the NinjaTrader forums!

    When you apply the strategy, in the "Order handling" parameters you can set the ExitOnClose to true and the ExitOnClose seconds to close all positions and orders at however many seconds before the end of session. By default the ExitOnClose is set to true and the ExitOnClose seconds is set to 30 meaning that 30 seconds before the end of the session the ExitOnClose will close positions and close any open orders created by the strategy. Caution: If you have changed the trading hours of the dataseries this may impact when ExitOnClose functions as the ExitOnClose relates to the trading hours assigned to the data series.
    Reference: http://ninjatrader.com/support/helpG...t_strategy.htm

    In addition, under Tools>Options>Trading you have the ability to "autoclose" all instruments, or specific instruments, at a specified time. Reference: http://ninjatrader.com/support/helpG...ns_trading.htm
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by vantojo, Today, 09:32 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by FelipeRXP, Today, 08:40 AM
    2 responses
    13 views
    0 likes
    Last Post FelipeRXP  
    Started by petedian, Today, 08:44 AM
    0 responses
    15 views
    0 likes
    Last Post petedian  
    Started by J0shTrader, Yesterday, 12:29 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by bc24fl, Today, 08:07 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X