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 NullPointStrategies, Today, 05:17 AM
              0 responses
              25 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              121 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              64 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              41 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X