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 Vikuno1, 11-28-2023, 11:42 PM
    15 responses
    357 views
    1 like
    Last Post PaulMohn  
    Started by PaulMohn, Yesterday, 02:06 AM
    3 responses
    12 views
    0 likes
    Last Post PaulMohn  
    Started by gertrudeabrams, Today, 12:33 AM
    0 responses
    3 views
    0 likes
    Last Post gertrudeabrams  
    Started by NJA_MC, 01-03-2021, 10:34 PM
    11 responses
    150 views
    0 likes
    Last Post wzgy0920  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    173 responses
    2,367 views
    0 likes
    Last Post jeronymite  
    Working...
    X