Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Exit on Close"

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

    "Exit on Close"

    On my strategy I did a walk forward test today on the e-mini NQ, the exit on close was set to true however it did not exit at 4:00 PM.

    I am using Range bars and Renko bars could that be the problem?

    My data vendor is Barchart.com (I appeared to be getting live data throughout the day as orders were placed) I will check to see if I have access to realtime streaming data, if not could that be the problem?

    I also shut down NT and reloaded the chart with the same settings and same strategy and it still shows an open position.

    Thank you for any suggestions.

    #2
    Hello NTWolfe,

    Can you please verify if you are using the Strategy Analyzer or a regular chart to run your strategy.

    If you run a strategy in a regular chart, real-time data is required to calculate the conditions of your strategy.

    In addition, please review the information at the link below that explains the difference between a strategy and account position.


    Could it be the unexpected position is related to the difference between the two?
    JasonNinjaTrader Customer Service

    Comment


      #3
      Yes I have real time data. The trade did not close at the time I put for session end time (4:00 PM) today.

      I could upload a photo, which file type would be the best to do so? bmp, gif, jpeg?

      Comment


        #4
        If you look at the screenshot I ran live date for 4-8-10 and 4-9-10. It did not generate an order for "exit on close."

        If you look back a little further to 4-7-10 it does show that it exited but that day was just historical data that was loaded.
        Attached Files
        Last edited by NTWolfe; 04-14-2010, 09:05 PM.

        Comment


          #5
          I am not sure if I follow. The second screenshot displays an 'Exit on close' execution as last. Am I correct the issue only occurs when you run the strategy in a regular chart?

          If so, can you please check what session begin and end times are set for the chart you run your strategy. Make sure the session end time is set to 4 PM.
          JasonNinjaTrader Customer Service

          Comment


            #6
            The session end times are set to 4:00 PM and Exit on Close is set to True. I am using a Renko bar chart but end time is end time whether it is a time, tick, or range chart as it checks the time and not bar.

            Here is a screen shot from today showing the exit on close and then it made an entry order right afterwards.
            Attached Files

            Comment


              #7
              NTWolfe, so the ExitOnClose itself is working as you would expect, right?

              However you want to avoid the short entry then after this?

              Then you would need to setup time filters in your strategy that would prevent this -



              BertrandNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by GussJ, 03-04-2020, 03:11 PM
              16 responses
              3,279 views
              0 likes
              Last Post Leafcutter  
              Started by WHICKED, Today, 12:45 PM
              2 responses
              19 views
              0 likes
              Last Post WHICKED
              by WHICKED
               
              Started by Tim-c, Today, 02:10 PM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by Taddypole, Today, 02:47 PM
              0 responses
              5 views
              0 likes
              Last Post Taddypole  
              Started by chbruno, 04-24-2024, 04:10 PM
              4 responses
              51 views
              0 likes
              Last Post chbruno
              by chbruno
               
              Working...
              X