watchme3

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

FX:UK100   FTSE 100 Index
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!
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.