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.
    Paul H.NinjaTrader Customer Service

    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 GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,281 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      19 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by Tim-c, Today, 02:10 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Taddypole, Today, 02:47 PM
      0 responses
      5 views
      0 likes
      Last Post Taddypole  
      Started by chbruno, 04-24-2024, 04:10 PM
      4 responses
      53 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Working...
      X