Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot horizontal line

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

    Plot horizontal line

    How can I plot a horizontal line in indicator?

    I know I have to add this below at initialize, but what is next?

    protectedoverridevoid Initialize()
    {
    Add(
    new Plot(Color.Orange, PlotStyle.Hash, "L2"));

    ....
    }

    #2
    This would just define your Plot, you still would need to set it to some value...this is easier for a line at a certain level -

    Code:
     
    Add(new Line(Color.Blue, 0, "Zerolevel"));

    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