Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how do I show indicator parameters on Chart label

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

    how do I show indicator parameters on Chart label

    Guys,

    I have several indicators on the chart and they are listed in the top left corner. All but one display their parameters too. I've searched the code and cannot figure out where to make a change such that the indicator that does not show its parameters can be made to show the parameters. Is this a code thing or is a settings thing?

    Thank you.

    #2
    Hi crmcwi,

    In the indicator settings, ensure you the "Label" field is not blank.

    Aside from that, make sure you are not overriding the ToString() method in your code.
    TimNinjaTrader Customer Service

    Comment


      #3
      hmmm... here is the chart and here is the code

      Hi Tim,

      I hope you had a good weekend. This is Ivan G's code, IGTDSequential. As you can see, the indicator label does appear, but without any parameters.

      I have not seen where the ToString() is overridden, but I 'm not a C# expert. Would the following code be indicative of an override class somewhere else:

      [Browsable(false)]
      publicstring SequentialFontColorSerialize
      {
      get { return NinjaTrader.Gui.Design.SerializableColor.ToString( _colorSequentialFontColor); }
      set { _colorSequentialFontColor = NinjaTrader.Gui.Design.SerializableColor.FromStrin g(value); }
      Attached Files

      Comment


        #4
        Hi crmcwi,

        That code you mentioned doesn't look like it would cause the "missing" label.

        Aside from what I've mentioned, you can contact the creator for more information.
        TimNinjaTrader Customer Service

        Comment


          #5
          thanks Tim.

          Still a mystery and Ivan's not responding.

          Hmmm...

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          35 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          13 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          19 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          21 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X