Please try again with:
Swing(5).SwingHigh[5]
This is true, if 5 bars ago a swing occured. A swing high (low) is defined as a swing, if 'strength' bar before and after the candidate are lower (higher) then the actual value. Thus the value is always false for barsBack < strength.
Kind regards,
Christian
Comment