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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          67 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          36 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          59 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          62 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X