Announcement

Collapse
No announcement yet.

Simple 'Trend Line Button' problem...

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

  • Simple 'Trend Line Button' problem...

    Attached is a simple efs script that will append a line between two points selected on a chart.

    The script loads two buttons onto your charts a 'Mk Trnd Lns' button and a 'Reset' button.


    Once you press the 'Mk Trnd Lns' button you double click any spot on the chart (within the area of the chart already formed) to indicate where you want the line to start. Next you double click where you want the line to end (within the area of the chart already formed). And a line appears...pretty simple really.

    Where it lacks as a tool is in the fact that the line doesn't appear until AFTER you select the second point. This is a serious detractor since you've no means to 'align'...appropriately 'situate' the line to your liking before placement.

    A great improvement would be to be able to associate a line 'dynamically' between the first selected point and your cursor up to the event of the second double click such that you'd have this 'dynamic' line to properly figure your formal or permanent line placement.

    Anyone know how to do such a thing?

    I hope that isn't too convoluted.

    Any help is appreciated,

    gg
    Attached Files

  • #2
    you can't draw a temporary line on the chart without having two locations selected on the chart. You can't pull the mouse pointer location in EFS like you could in other languages.
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment

    Working...
    X