I want to have the number of the bars from the current bar back to the previous swing.
I have tested the following:
int NumberBars = Swing(5).SwingLowBar(0, 1, 10);
In this case I have more than one number in my output, maybe all the numbers for the entire chart/period selected?
How to have only the number of the bars regarding the previous swing?
Best ragards

Comment