What does the ATR value do here? I know the Swing is how many bars left and right get compared.
The script writes HH, LL, HL, LH on the chart (I have eliminated LH and HL)
and I use a variable called dist so I can input different values for the ATR but havent figured out what changes.
Comment