Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

problem with strategy

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

    problem with strategy

    I have a strategy and I can edit and compile it, but when I go to the chart to activate it, it doesn't appear, why is that?
    Attached Files

    #2
    Hello faroka,

    From the images you have the incorrect Name = " " in State.SetDefaults. The name in the strategies list is what you set in State.SetDefaults. The strategy you have selected has the name you used in the code so you would need to change it to match the class name you used.

    Comment


      #3
      What good advice, perfect, I was able to fix it, thank you very much for your help

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      88 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      57 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      119 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      195 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      176 views
      0 likes
      Last Post CarlTrading  
      Working...
      X