Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Something Severely Wrong Randomly Happened to my Strategy

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

    Something Severely Wrong Randomly Happened to my Strategy

    My strategy is suddenly displaying default parameters of a different strategy in strategy analyzer (any previously selected strategy), I don't even think the proper script is being run anymore. I checked the code, the parameters and variables are distinctly different between the strategies. I have restarted NT and saved the code as a different strategy name, nothing changes.

    #2
    It will display the proper parameters for a new chart, however no orders are placed, which is unusual since the only thing I changed since it was working properly for both chart and strategy analyzer was adding horizontal lines to referenced indicators.

    Comment


      #3
      I also tried commenting out these recent changes and nothing changes

      Comment


        #4
        I looked at the recent thread "Parameters do not change when change strategy & Failed to Call Method error", where the user is experiencing the same difficulty as me. I commented out all protected override void Initialize indicators and it will work. Still I would like these indicators to be visible as some sort of reference, otherwise I have no idea if the strategy will be preforming the way I want it to.

        Comment


          #5
          FIXED IT!!!

          sorry for starting this thread.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          68 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          150 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          100 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          288 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X