Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Interesting Error

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

    Interesting Error

    I am having an issue with the Strategy Analyser. I have a strategy that compiles well and runs in real time well. In the Strategy tab of the Control Centre, I can right click on a strategy and get the performance from there. However, when I use the Strategy Analyser and try to back test on any symbol (even one that I just saw work in Control Centre) the Summary report is all zeros.

    #2
    Hi yimbot,

    Do you get any errors in your Log tab then?

    Are you disconnected from your datafeed while trying the Strategy Analyzer backtest?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bertrand,

      No errors in the log and I am connected...

      Comment


        #4
        Not sure I follow. When you right click and get performance from a chart you are getting the performance of real-time trades. Your strategy is likely just a real-time strategy. Please try with SampleMACrossOver.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I get data with SampleMACrossOver no problem.

          Comment


            #6
            Right. I am suspecting it is your strategy. You may have some lines like
            Code:
            if (Historical)
                 return;
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              I commented that out previously, but I do have a

              #if !TESTBED
              ...

              is this a likely culprit?

              Comment


                #8
                Not sure what you have there yimbot. The point is if you are preventing your strategy from historical calculations for sure you will not see backtest results in the Strategy Analyzer.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  thanks, I will try and track it down...

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Impeesa, Today, 11:53 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post Impeesa
                  by Impeesa
                   
                  Started by jmrbtrader08, Today, 11:50 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post jmrbtrader08  
                  Started by juanfer, 02-11-2025, 07:29 AM
                  2 responses
                  10 views
                  0 likes
                  Last Post juanfer
                  by juanfer
                   
                  Started by Brian.T, Today, 11:02 AM
                  3 responses
                  10 views
                  0 likes
                  Last Post Brian.T
                  by Brian.T
                   
                  Started by hoppy222, Today, 09:27 AM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_ChristopherJ  
                  Working...
                  X