Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer not working?

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

    Strategy Analyzer not working?

    I tried using the Strategy Analyzer and when I run it, the analyzer does nothing. I do not see any trades show up even though I have debugging statements that prints out in the output window before the trades are being executed. Any idea on what would cause it to not work?

    Thanks

    #2
    How about enabling TraceOrders in your strategy to see if you can tell what may be happening?



    Also, check the Control Center log tab for any errors generated by your strategy.
    RayNinjaTrader Customer Service

    Comment


      #3
      I set TraceOrders = true and there were no changes in the output windows. There are also no errors in the log. According to my debug statements, there should have been a bunch of trades, and yet the summary all reads 0, there are no executions, no trades, no orders.
      I am also using Zen Fire and according to the graph, Zen Fire supports historical data. I am also not checking for Historical either.

      And the strategy does work because it has been running in real time without any problems.
      Last edited by mazachan; 07-10-2007, 04:58 PM.

      Comment


        #4
        How about adding adding something like:

        Print(Time[0].ToString());

        as the first line in the OnBarUpdate() method. Then backtest it --> You should see DateTime output in the Output window. If you do not, then you do not have any historical data while running a backtest.
        RayNinjaTrader Customer Service

        Comment


          #5
          Yes, I do have data as it has been printing out the market open and close times. I just tried this and it has historical data going all the way back to march for the ES 09-07.

          Could it be that I am executing an ATM strategy as opposed to simple longs and shorts? Has anyone else had any issues like this? I tried this on another computer and I still get the same result.

          I have attached 2 screenshots from the strategy analyzer after running the back test. There are no warnings or errors under the log tab.

          I tried running the back test with the SampleMACrossOver strategy and that appears to work fine. However the SampleAtmStrategy produces the same results.
          Attached Files
          Last edited by mazachan; 07-10-2007, 06:22 PM.

          Comment


            #6
            ATM strategies are not backtestable, that is why you are not seeing any results. Thanks for pointing this fact out, I overlooked that.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jxs_xrj, 01-12-2020, 09:49 AM
            6 responses
            3,290 views
            1 like
            Last Post jgualdronc  
            Started by Touch-Ups, Today, 10:36 AM
            0 responses
            7 views
            0 likes
            Last Post Touch-Ups  
            Started by geddyisodin, 04-25-2024, 05:20 AM
            8 responses
            61 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Option Whisperer, Today, 09:55 AM
            0 responses
            8 views
            0 likes
            Last Post Option Whisperer  
            Started by halgo_boulder, 04-20-2024, 08:44 AM
            2 responses
            24 views
            0 likes
            Last Post halgo_boulder  
            Working...
            X