This is the exact script I've been looking for. Thank you mate.
Do you mind sharing the code? I would love to have a look at the backend functionality and test out some tweaks.
drpragnesh40
⋅
SUPERB INDICATOR .THANKS A LOT
erasei
⋅
The 'pivot length' variables are how many candles need to elapse before it is considered a swing.
'Max length' is how long (max) do you want the lines to be drawn before the script just stops drawing them.
'ATR Modifier' is a float to set the percentage of ATR you want displayed. Default is 1.0 which is 100% of the ATR of that period / candle. Setting to 0.5 would be 50% of ATR, 0.25 would be 1/4th ATR, etc.
'ATR Period' is how many periods the ATR will be based on.
Do you mind sharing the code? I would love to have a look at the backend functionality and test out some tweaks.