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 SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          46 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          22 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          14 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          21 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          23 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X