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 GussJ, 03-04-2020, 03:11 PM
                  16 responses
                  3,281 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
                  9 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
                  53 views
                  0 likes
                  Last Post chbruno
                  by chbruno
                   
                  Working...
                  X