Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Remove Label

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

    Remove Label

    Hi, how can I remove the label of my chart strategy??

    I remove label of my strategy, and all indicators.. but only the label of strategy was removed, the label of indicators still showing...
    Attached Files

    #2
    Hello marcos_vitorino,

    Thank you for your post.

    The indicator's labels will remain even when we change the Label of the strategy. This has been requested for change in the past and I will forward your inquiry as a vote for this change to allow the indicator Label to be hidden when the strategy Label is hidden.

    An indicator's Label will always show as it's own. If we add it to the chart then it will show it's Label unless we change that Label in the indicator's code directly. Which of course cannot be done for the pre-loaded indicators with out editing them which is not recommended.

    Please let me know if you have any questions.

    Comment


      #3
      Originally posted by marcos_vitorino View Post
      Hi, how can I remove the label of my chart strategy??

      I remove label of my strategy, and all indicators.. but only the label of strategy was removed, the label of indicators still showing...
      Hi,
      I discover how remove Labels on chart strategy...

      1. On strategy parameter remover text label...
      2. On your script for example if you user PSAR, just add Name = "";

      see all script to PSAR indicator...

      ParabolicSAR1 = ParabolicSAR(Close, PsarAcceleration, PsarAccelerationMax, PsarAccelerationStep);
      ParabolicSAR1.Plots[0].Brush = Brushes.Goldenrod;
      ParabolicSAR1.Plots[0].PlotStyle = PlotStyle.Hash;
      ParabolicSAR1.Name = "";
      AddChartIndicator(ParabolicSAR1);
      Last edited by marcos_vitorino; 01-28-2018, 06:40 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by pibrew, Today, 06:37 AM
      0 responses
      1 view
      0 likes
      Last Post pibrew
      by pibrew
       
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      12 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      11 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      15 views
      0 likes
      Last Post AaronKoRn  
      Working...
      X