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 benmarkal, Yesterday, 12:52 PM
                  3 responses
                  22 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by helpwanted, Today, 03:06 AM
                  1 response
                  18 views
                  0 likes
                  Last Post sarafuenonly123  
                  Started by Brevo, Today, 01:45 AM
                  0 responses
                  11 views
                  0 likes
                  Last Post Brevo
                  by Brevo
                   
                  Started by aussugardefender, Today, 01:07 AM
                  0 responses
                  6 views
                  0 likes
                  Last Post aussugardefender  
                  Started by pvincent, 06-23-2022, 12:53 PM
                  14 responses
                  244 views
                  0 likes
                  Last Post Nyman
                  by Nyman
                   
                  Working...
                  X