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 < 100) or a multiple ( value > 100) of that
JD.
#NotTradingAdvice #DYOR
Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!