Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Need help with second plot line

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

    Need help with second plot line

    I tweaked the code for RMI to include UpDown coloring which worked, then when I added a second line but its not displaying, not sure what I'm missing here. Any help would be appreciated.
    Attached Files

    #2
    Hello Conceptzx,

    Your public property is not correct, you need to increment the index to 1 for the new plot. You will need to remove and reapply the indicator after making this change.

    Code:
    public Series<double> RMIplot2
    {
    get { return Values[0]; }
    }​
    needs to be

    Code:
    public Series<double> RMIplot2
    {
    get { return Values[1]; }
    }
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you. There was a little more involved than that but I got it sorted.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      10 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      15 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Yesterday, 08:42 PM
      0 responses
      11 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Yesterday, 07:51 PM
      0 responses
      14 views
      0 likes
      Last Post strategist007  
      Working...
      X