Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

More than 4 Plots for an Indicator?

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

    More than 4 Plots for an Indicator?

    Hi,

    Please help me:
    How to plot more than 4 plots(default setting) in an Indicator?
    I want 7 plots in an indicator.

    I added more plots in the code, but they do not appear in the chart although they are listed in the indicator menu box.

    #2
    Hello Dowhk,

    You have to expand the properties region and add code for each plot:

    Code:
     
    [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove
    [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove
    public DataSeries Plot5
    {
    get { return Values[5]; }
    }
    This is for Plot5 (would actually be the 6th plot if using convention 0-5)

    Note the Values[] index increases by one for each plot you need to add
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Hello Dowhk,

      You have to expand the properties region and add code for each plot:

      This is for Plot5 (would actually be the 6th plot if using convention 0-5)

      Note the Values[] index increases by one for each plot you need to add

      Hi Ryan,

      Thank you very much.
      It works !!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      331 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      549 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      549 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X