Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit on close

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

    Exit on close

    Can I overide " exit on close" so my position stays open until the trade plays out ?

    I'm trying automation in Forex on a demo and want the position open over the course of days or weeks .

    #2
    Please see the following link for more information.


    If set to true, strategy will not exit on close.
    JasonNinjaTrader Customer Service

    Comment


      #3
      I see , Just shut it off when applying the strategy , thanks .

      Also , how do I set a trailing stop . I got as far as stops and targets / strategy action in the wizard and selected trailing stop . From the parameters box how do I define how to trail the stop ?

      Thanks again I appreciate it .

      Comment


        #4
        Please see the link below for more information regarding SetTrailStop().
        JasonNinjaTrader Customer Service

        Comment


          #5
          Can I set the parameters to trail the stop from the wizard ?

          Comment


            #6
            Trailing stops are available on the last page of the Wizard where you define Stops & Targets.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              question

              If I backtest the 12/08 ES contract and run the backtest from 8/08 through 1/13/09 will it factor in the 9/08 and 3/09 contract for the results .

              Comment


                #8
                With NT 6.5 or earlier, if you have merged past contracts into 12/08 then yes, otherwise no.

                More info on merging - http://www.ninjatrader-support.com/H...eV6/Merge.html
                RayNinjaTrader Customer Service

                Comment


                  #9
                  Thanks for that Ray. I made a mistake with that last question though . If I run a backtest for the 03/09 ES contract ( or another contract ) and choose a timeframe from around 01/08 ,or before the 03/09 contract trades, until today will the result be based upon the ES contracts that expired up until the 03/09 contract ?

                  Is there a maximum timeframe to look back ?

                  Also , I dont store any real time bar data and am getting the data to backtest from Esignal . Is there anything I should do that I might be missing ?

                  Comment


                    #10
                    The same answer holds up; if you did not merge the 12-08 contract or prior contracts into the 03-09 contract, it will not.

                    The Strategy Analyzer does not have a limitation regarding look back period.

                    I suggest to create a continuous contract, since these are supported with eSignal. Go to Tools-->Instrument Manager, highlight the ES and set Expiry to ##-##. Add the ES to your instrument list. I suggest to use this instrument upon backtesting.
                    JasonNinjaTrader Customer Service

                    Comment


                      #11
                      Thanks again , I'll do that .

                      Comment


                        #12
                        When I apply conditions and actions how do I tell the condition builder the MACD must be falling or rising ?

                        On the right side I see rising , falling and slope but how can I apply these ?

                        Comment


                          #13
                          Starrynight, please see the attached sample strategy for a way to tell the Condition Builder the MACD is rising, you can express it as MACD is greater than the MACD from 5 bars ago.
                          Attached Files
                          BertrandNinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by traderqz, Today, 12:06 AM
                          2 responses
                          4 views
                          0 likes
                          Last Post traderqz  
                          Started by RideMe, 04-07-2024, 04:54 PM
                          5 responses
                          28 views
                          0 likes
                          Last Post NinjaTrader_BrandonH  
                          Started by f.saeidi, Today, 08:13 AM
                          1 response
                          7 views
                          0 likes
                          Last Post NinjaTrader_ChelseaB  
                          Started by DavidHP, Today, 07:56 AM
                          1 response
                          6 views
                          0 likes
                          Last Post NinjaTrader_Erick  
                          Started by kujista, Today, 06:23 AM
                          3 responses
                          11 views
                          0 likes
                          Last Post kujista
                          by kujista
                           
                          Working...
                          X