Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy won't exit at end of session

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

    Strategy won't exit at end of session

    I have the setting to true to exit at end of day and I am using 2:30 as session close, because I want it to exit at 2:30, but the system won't exit a trade. The chart will stop, but no exit. Any thoughts? Also in the backtested results, it shows exiting at close as well, but on sim it doesn't exit.
    Last edited by dancorcal; 01-12-2010, 04:53 PM.

    #2
    dancorcal, your strategy should be exiting if you specify ExitOnClose = true. Can you post a screenshot of your strategy window? I've attached an example.
    Attached Files
    AustinNinjaTrader Customer Service

    Comment


      #3
      Hi Austin,

      Happened again today. The session close time I entered came and the system did not exit. On backtesting the system it will show "exitonclose" at the 2:30 time I am wanting, but for live trading... it holds the trade. Here is the screenshot.

      Any thoughts?
      Attached Files

      Comment


        #4
        Please use TraceOrders = true and see what is happening under the hood around 30 seconds before 2:30.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,789 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,294 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X