Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

My second MA does not plot in RSI

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

    My second MA does not plot in RSI

    The vanilla RSI(14,3) plots an SMA on top of RSI. I would like to add a second MA (i.e. EMA) plot.

    I got a clean compile and everything looks good but the EMA does not plot; only the SMA plots on top of RSI.

    I have reviewed the Forum dated 05-27-2011 - How to plot more than 1 plot in one indicator? I could not find anything noticeably wrong.

    I'm attaching my NinjaScript for your review.

    I'd appropriate it very much if you could provide your comments and/or guidance.

    Thank you.

    Richard
    Attached Files

    #2
    Welcome to our forums here Richard, please take a look into your properties both the Avg and EmaAvg point to the same Value series (Values[1]). You have 3 plots so there should be 3 different series used in the public properties for those as well (Values[0], [1], [2]]).

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Welcome to our forums here Richard, please take a look into your properties both the Avg and EmaAvg point to the same Value series (Values[1]). You have 3 plots so there should be 3 different series used in the public properties for those as well (Values[0], [1], [2]]).
      Bertrand,

      Thank you so much for your quick reply. Your suggestion works.

      Richard

      Comment

      Latest Posts

      Collapse

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