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

Line Color

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

    Line Color

    I have a line I'm plotting that has a default color of Violet. If the color is changed in the Indicator Properties section, how do I access that? I need to set other objects to the same color. thanks (below are my plot command)



    AddPlot(new Stroke(Brushes.Violet,2), PlotStyle.Line, "Line1");

    [Browsable(false)]
    [XmlIgnore]
    public Series<double> Line1
    {
    get { return Values[0]; }
    }


    #2
    Hello pman777,

    Plots[0].Brush.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cocoescala, 10-12-2018, 11:02 PM
    6 responses
    939 views
    0 likes
    Last Post Jquiroz1975  
    Started by gbourque, Today, 06:39 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    20 views
    0 likes
    Last Post sarafuenonly123  
    Working...
    X