Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy analyzer

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

    strategy analyzer

    Hello. Having a strange thing occur.

    I am trying to backtest some strategies, but the dropdown menu doesn't offer some of the strategies. They appear when I pull them up from the NinjaScript editor, and they compile, but they don't appear among the strategies in the dropdown menu on the strategy analyzer.

    I have tried to shutdown and restart a few times but that doesn't appear to work.
    Any ideas?
    Thanks

    #2
    Hello stewarco,

    Thanks for your post.

    Please view the "log" tab of the control center while you have the drop down open, do you see any errors? (What can happen is if there is a significant loading type error that the strategy would be removed from the available list, to prevent crashing the application). I doubt this is the issue but is always a good first check.

    If there are no errors, then open each strategy through the NS editor. The NS editor lists the strategies by their filename, check then that the strategy "Name" field in OnStateChange's State.SetDefaults matches the filename. It is the "Name" field that would appear in the strategy drop down. It is preferable that the filename, public class name and the "name" all be the same to avoid any confusion.

    Comment


      #3
      thanks changing in the name in the defaults section appears to have done the trick

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      169 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      324 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      250 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      351 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      180 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X