Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

In strategy analyzer backtest, trades stopped

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

    In strategy analyzer backtest, trades stopped

    executing.

    any reason why that would happen?
    i am using data from 1 dec 08 until 25 feb 09. The strategy works well (executing twice a day) from 1 dec 08 until 29 dec 08. Then there are no trades between 29 dec 08 until the last bar on 25 feb 09. The chart shows that there is data between those dates.

    #2
    anothertoy, are you sure your conditions for trade execution should trigger during that period? Is the same happening when you start this from a chart? Do you see any errors in the Log tab of the Control Center?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks. Checked the error log (didn't know about it) and found some bad data which created a divide by 0.

      Comment


        #4
        I think the error log needs to be made more obvious. We definitely don't want a modal dialog with each error, but there should be some indication in the strategy chart, backtest run results, etc. that indicates there were problems, and clicking that indicator takes you to the error details. If there was one of the fairly common out of memory errors during an optimization, for example, the optimization results can't be trusted, and it is absolutely critical to know that.

        Comment


          #5
          Thank you for your thoughts. I have forwarded them to development.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            how do you get strategy anlyzer to run with saved chart layouts. each time i run it i have to add the indicators again. it doesnt seem to allow the chart template to stay loaded when it runs

            Comment


              #7
              trader1512, not sure I follow - to work with chart templates the normal Charts are more convenient, as the Strategy Analyzer will help you visualize the particular strategy you're testing currently.
              BertrandNinjaTrader Customer Service

              Comment


                #8
                i am testing a strategy which i employ manually. i use multiple indicators to determine setup and entry. i have programmed them into a strategy so i can backtest and refine my MANUAL routine.

                i use a saved chart template with my indicators on it. when i run the strategy analyzer it wipes out the indicators and reloads the basic chart.

                i am trying to determine if there is a way to run the backtest on the strategy while using the saved chart so i dont have to reload my indicators each time i run a test?

                Comment


                  #9
                  Have you tried setting the template as the default template to be loaded?

                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    how do i change the default template in strategy analyzer? thats where the chart comes up after i run the backtest and click on chart button within analyzer

                    Comment


                      #11
                      Unfortunately this is not possible in the Strategy Analyzer chart window, it will always display the indicators (if you have chosen to do so) associated with the strategy you backtest. So best option would be to add the indicators you need in your strategy code -

                      BertrandNinjaTrader Customer Service

                      Comment


                        #12
                        thanks. i checked the help guide but could not find how to do this. the strategy uses the indicators, how would i put them in the code so they display.

                        also, is there a way to backtest the strategy using the ATM strategy i use when trading.

                        Comment


                          #13
                          found the link am trying it now.

                          can the atm strategy be incorporated?

                          Comment


                            #14
                            Please check the link I posted in my prior post, or if you're in the strategy wizard, please set 'Plot on chart' to true in the indicators you use in your conditions.

                            No, ATM strategies can unfortunately not be backtested.
                            BertrandNinjaTrader Customer Service

                            Comment


                              #15
                              any chance you could provide a sample of the actual code used for the link.

                              i could not get it to compile by just adding the code snippets,.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by thanajo, 05-04-2021, 02:11 AM
                              4 responses
                              470 views
                              0 likes
                              Last Post tradingnasdaqprueba  
                              Started by aa731, Today, 02:54 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post aa731
                              by aa731
                               
                              Started by Christopher_R, Today, 12:29 AM
                              0 responses
                              10 views
                              0 likes
                              Last Post Christopher_R  
                              Started by sidlercom80, 10-28-2023, 08:49 AM
                              166 responses
                              2,237 views
                              0 likes
                              Last Post sidlercom80  
                              Started by thread, Yesterday, 11:58 PM
                              0 responses
                              6 views
                              0 likes
                              Last Post thread
                              by thread
                               
                              Working...
                              X