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 cmoran13, 04-16-2026, 01:02 PM
      0 responses
      42 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      25 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      162 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      98 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      157 views
      2 likes
      Last Post CaptainJack  
      Working...
      X