• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by digibob, 07-08-2020, 03:45 AM
    5 responses
    35 views
    0 likes
    Last Post johnnymustard  
    Started by kanavancbduk, Today, 01:21 AM
    0 responses
    7 views
    0 likes
    Last Post kanavancbduk  
    Started by yalmandraku, Today, 01:21 AM
    0 responses
    5 views
    0 likes
    Last Post yalmandraku  
    Started by kanavancbduk, Today, 01:20 AM
    0 responses
    4 views
    0 likes
    Last Post kanavancbduk  
    Started by josenfit, Today, 01:03 AM
    0 responses
    3 views
    0 likes
    Last Post josenfit  
    Working...
    X