Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy doesn't work

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

    Strategy doesn't work

    I'm working with NT7. I'm developping a strategy and when I run it on the strategy analizer it gives results, but when I put it in a chart working with market replay data it doesn't work. Can you tell me why, please?

    I send you the strategy and a indicator developped by me. Thanks
    Attached Files

    #2
    alibanez, does it work during real-time tests? You can run it live on Sim101 to test out. Are there any errors in the logs (right-most tab of control center)?
    AustinNinjaTrader Customer Service

    Comment


      #3
      Yes, It works during real-time tests and no errors in logs, and in replay market too. I didn't know that I must mark the enabled field in the strategies tab. Only one question. Is it possible that this field goes enabled by defect?

      Thanks

      Comment


        #4
        alibanez, I'm sorry but not sure I follow your last question - if there's a run time issue the strategy error handling would come into effect terminated the strategy, you would then see it 'parked' in disabled state, you would want to check your log tab in the Control Center then for more info.

        Comment


          #5
          I want to say that, when I put the strategy in the graph window it doesn't work until I go to the 'Strategies' tab and I mark the 'Enable' field on the most right position of the window. I send you the log file exported from the log tab.

          My question is if it is possible that this field goes enabled by defect, instead I have to go to the 'Strategies' tab to mark the field.
          Attached Files

          Comment


            #6
            Yes, the need to enabled would be expected per default, try Enabled = true in your Strategy Initialize() method.

            Comment


              #7
              Perfect. It works. Thank you very much.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              648 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              369 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              109 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              573 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              575 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X