As a second alternatively based trendline script this is the Standard Deviation vesrion.
This script draws trendlines from the pivot points in the price chart.
The angle of the trendlines is determined by (a percentage of) the Standard Deviation.
The angle follows the change in price, compared to the StDev at the moment where the pivot point is detected
The...