Strenght is how many bar swing, and lenght is how far back you can look for that swing. a 10 bars swing is 5 bars up and 5 bars down.
SwingHighBar, returns how many bars ago the swing high occured. The last argument is the occurence number, 1, last , 2 2 occurences ago ect.
|