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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      603 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      349 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      104 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      560 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X