Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Plot Naming . . .

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

    Indicator Plot Naming . . .

    I created an indicator and when I add it to a chart I see the names I provided in AddPlot function.
    However when I want to reference that name when using the indicator I don't see it as an option
    and have to use INDICATORNAME.Values[3][0] rather than INDICATORNAME.PLOTNAME[0].

    Is there a way to have the name persist when used in a strategy? It just makes it easier when
    referencing.

    Thanks.

    #2
    Hello ATMtrader0001,

    It sounds like you are missing the public property for the plot. If you take a look at the Bollinger indicator and how its makes 3 public properties near the bottom for its plots, that is what your script needs in case you are missing that.

    The alternative is to use the indicator wizard to create a new indicator with the plots you want and then generate the code, that will add the public properties.

    I look forward to being of further assistance.

    Comment


      #3
      Actually I had put that in, but found a syntax error that wasn't picked up during compile.

      Thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      80 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X