Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal Line?

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

    Horizontal Line?

    Hello,

    How do I draw a horizontal line that I can move to different heights?

    I've tried the AddLine ... but it always draws at zero height. The only way I can change the height is using the configuration panel.

    Many Thanks, Caesar.

    #2
    Hello Skechers,

    Thank you for your post.

    You can use Draw.HorizontalLine() to draw a line at any price level you like:



    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Well,

      I have tried these and can't get a line:

      Code:
      HorizontalLine LineHi = Draw.HorizontalLine(this,"MACDHi", Threshold, Brushes.Yellow);
      HorizontalLine LineLo = Draw.HorizontalLine(this,"MACDLo", Threshold*-1, Brushes.Yellow);
      Draw.HorizontalLine(this, "tag1", 5, Brushes.White);
      I've tried in OnStateChange, OnBarUpdate, and OnDataLoaded ..

      What am I missing?

      Many Thanks, Caesar.​

      Comment


        #4
        Hello Skechers,

        Thank you for your reply.

        Are you trying to draw the lines in an indicator panel and not the price panel? If so, make sure DrawOnPricePanel is set to false in State.SetDefaults and you should see them show up.

        Please let us know if we may be of further assistance to you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        563 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        329 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        547 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        548 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X