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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      69 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      42 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      24 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      27 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      54 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X