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 mattbsea, Today, 05:44 PM
        0 responses
        4 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        20 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Working...
        X