(Low[Math.Max(0, Swing(BarsArray[1], 3).SwingLowBar(1, 2, 10))])
Also I'm confused on the lookbackperiod to use. If I'm looking for the 2nd most recent pivot with 10bar lookback as above, if the 2nd most recent pivot that formed is now 15 bars back will it just ignore it even if there isn't a new 2nd occurrence or pivot that formed yet?
Comment