Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Size

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

    Indicator Size

    I have created the following for an indicator . What do I need to add to make indicater have a default width of 2. Thanks

    protected override void Initialize()
    {
    Add(new Plot(Color.FromKnownColor(KnownColor.Purple), PlotStyle.Square,"Plot0"));
    PriceType = PriceType.High;
    Plots[0].Pen.DashStyle = DashStyle.Dash;
    CalculateOnBarClose = true;
    Overlay = true;
    //PriceTypeSupported = true;
    }

    #2
    You can add this:
    Plots[0].Pen.Width = 2;
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    127 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    86 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X