Announcement

Collapse
No announcement yet.

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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    77 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    109 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    57 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    108 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    65 views
    0 likes
    Last Post PaulMohn  
    Working...
    X