Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy list accessable by editor is not the same as seen by a chart?

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

    Strategy list accessable by editor is not the same as seen by a chart?


    #2
    Hello boreland,
    Thanks for your post.

    That is happening because the "Name" property in State.SetDefaults is "SupperTrader". You will need to go back into the code of that indicator change the name property to the name you would like displayed.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      I found this in one of the sample strategies. Is it here that I specify the "Name" property?

      protected override void OnStateChange()
      {
      if (State == State.SetDefaults)
      {
      Description = NinjaTrader.Custom.Resource.NinjaScriptStrategyDes criptionSampleATMStrategy;
      Name = NinjaTrader.Custom.Resource.NinjaScriptStrategyNam eSampleATMStrategy;
      // This strategy has been designed to take advantage of performance gains in Strategy Analyzer optimizations
      // See the Help Guide for additional information
      IsInstantiatedOnEachOptimizationIteration = false;
      }
      }

      Comment


        #4
        Yes, that is correct. You would change that line to something like

        Name = "TheNameOfMyIndicator";
        Josh G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        56 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        37 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        18 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        20 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        49 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X