Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems with Strategy Analyzer

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

    #16
    I made no other changes to the code. I ran it exactly as I pasted. I also included a picture of the chart showing that it had traded outside the allowed time frame. Perhaps Austin could paste a picture of the trade graph when running that exact code showing that trades were not performed outside the window. If it is working correctly on his pc and not on the three different ones I have tried it on, perhaps I need to check other software, maybe the .net version? I believe I have the latest NinjaTrader and all required .net software.

    Comment


      #17
      Here is the backtest for ES on 7-1. I did have to change the hours to compensate for not being on Eastern Time, but those were the only modifications I made.

      EDIT: In the text on the chart, I say the blue lines are at 7:30 and 13:30, but the second blue line is at 13:50.
      Attached Files
      Last edited by NinjaTrader_Austin; 07-15-2009, 09:42 AM.
      AustinNinjaTrader Customer Service

      Comment


        #18
        When making a change, or editing the strategy, is there anything more I have to do than "save"? And then go to strategy analyzer? I used your code and it then traded within the time frame you had set. I then edited it for EST time, and when running the backtest, it still used the 7:30 - 13:30 time frame. Perhaps it is not compiling correctly on my pc.

        Comment


          #19
          dsherman, there is something more that you have to do. You must also compile the strategy/indicator after saving it. To compile, you can right click in the editor window and select 'Compile', or you could just hit the 'F5' key.

          My favorite combination to save and then compile is 'F4' to save and then 'F5' to compile.
          AustinNinjaTrader Customer Service

          Comment


            #20
            That was my issue.

            Thanks for all the help. I have learned a lot.

            Comment


              #21
              You're welcome, dsherman. Thank you for your patience on solving the issue.
              AustinNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by GussJ, 03-04-2020, 03:11 PM
              11 responses
              3,221 views
              0 likes
              Last Post xiinteractive  
              Started by andrewtrades, Today, 04:57 PM
              1 response
              10 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by chbruno, Today, 04:10 PM
              0 responses
              6 views
              0 likes
              Last Post chbruno
              by chbruno
               
              Started by josh18955, 03-25-2023, 11:16 AM
              6 responses
              437 views
              0 likes
              Last Post Delerium  
              Started by FAQtrader, Today, 03:35 PM
              0 responses
              9 views
              0 likes
              Last Post FAQtrader  
              Working...
              X