Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

ExitOnClose External Datafeed

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

    ExitOnClose External Datafeed

    I am setting ExitOnClose and ExitOnCloseSeconds in my Initialize event. I am connecting using an external data connection, and my last position does not close. Is there some where to set property that states when the open market hours are for a particular stock, future, or exchange? Does the ExitOnClose not work for external data feed?

    #2
    Hi TradingDreamer,

    A few things to check...

    1. Does your session ends time reflect the correct time (or the Session Template in NT7)?

    2. Do you have a reasonable value for ExitOnCloseSeconds? Tried increasing it?

    3. Is your PC clock synced? You can sync your PC clock by double clicking on the clock in the lower right corner of your desktop. Once you have done that, click on Internet Time tab and then click Update. Your PC clock should now be updated.
    TimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by elirion, Today, 09:32 PM
    0 responses
    3 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by cre8able, Today, 09:15 PM
    1 response
    7 views
    0 likes
    Last Post bltdavid  
    Started by cummish, Today, 08:43 PM
    0 responses
    12 views
    0 likes
    Last Post cummish
    by cummish
     
    Started by Option Whisperer, Today, 07:58 PM
    4 responses
    21 views
    0 likes
    Last Post Option Whisperer  
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    13 responses
    87 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X