Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawline

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

    Drawline

    This is probably simple but I have yet to get it to work right. I want to be able to use the mouse to click on a bar on my chart. The bars are Range and not time based. Get that bar number and get the high point and then draw a line X ticks above the selected bar into the future; with X being an adjustable parameter. I have been able to get high low and close of a bar, just not sure how to do the rest.

    Example I select a bar that occurred 100 bars ago with my mouse. I get the high of that bar and lets say it is 100 and I set X to 10. Then it will plot a line at 110 ticks from that bar that occurred 100 bars ago up to the current bar in a user adjustable color, style and width.

    some of that I have figured out. Mostly the mouse and plotting that line from the mouse selection.

    Any help appreciated.

    #2
    Hello rwbil,

    Thank you for your post.

    Unfortunately, this would be unsupported.

    Comment


      #3
      Which part is unsupported.

      Is there a way to ask a user to enter a number and get that. If I can not do that then how about getting the 1st range bar shown in chart and drawing a line 10 ticks above it to the current bar.

      Comment


        #4
        Originally posted by rwbil View Post
        Which part is unsupported.
        " I want to be able to use the mouse to click on a bar on my chart. The bars are Range and not time based. Get that bar number and get the high point and then draw a line ..."

        Using the mouse in that manner to get your input data.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        125 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
        84 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X