Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 06:33:01 +0000



Post From: Chart indicator/study query

[2020-02-25 09:20:32]
User837624 - Posts: 16
A tool customisation query.

Hi,

I wonder if the functionality I want already exists or maybe this is something I could add/customise/program myself or perhaps you could add it in the near future.

What I want is to draw a Horizontal Ray from the highest/lowest point of a swing. I don't know if detecting a swing programmatically is an easy thing or not. And I can see 2 possibilities here.
1) some code detects every swing high/low and draws a Horizontal Ray from the outer point of it.
2) I perform some kind of Fn+click on a bar and a Ray is drawn from high or low of that bar, as appropriate.

I looked at Swing High And Low study and it does something similar to what I want (with the "extend lines" option), but the chart gets overloaded by too many lines, which can not be deleted.

Perhaps you could make it possible to right-click and Erase any of those auto-generated lines? That would probably cover my needs for now.

Speaking more broadly, it might already be possible to draw a tool-line based on outputs generated by a study?
Could you please advise if something like this is available or could be done.

Here is an example of what I'm after. Note there are no excessive lines/rays off of every small swing:

http://www.sierrachart.com/image.php?Image=1582622230894.png

Thank you,
Andrei