Showing the capabilities of what I call Fractals (SHS and iSHS)

FX:UK100   FTSE 100 index of UK listed shares
We all know how to calculate a possible target when a a SHS             or iSHS appears with a horizontal neckline mirroring the top-neckline distance. What is less known however, is the fact that sloped necklines can also be very supporting. In that case you take the point of the bar connected to the neckline with the greatest distance to the Head. In my example you cannnot recognize a SHS             , but as you can see it workes (this time...) the same and also very accurate in this case!

I'm planning to make a Pine script to calculate the target value and to add that value as text and a horizontal line on that target value to the graph as in this example. I'm however completely new to Pine scripting. So, if anyone can give me some inside how to find the values where the bars are connected to my blue 'neckline' I would be very grateful!
From growing inside in Pine scripting I can now say this idea will not be possible, because Pine is a vector based language and not an object oriented language, so a user drawn line is not referrable in Pine code. Sad...
United States
United Kingdom
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out