This script draws trendlines from the pivot points in the price chart.
The angle of the trendlines is determined by (a percentage of) the atr.
The angle follows the change in price, dictated by the atr at the moment where the pivot point is detected.
The atr percentage determines if the trendline follows the rate of change of the atr or a fraction ( value <...