I am using the Swing indicator and trying to programatically capture the bar at which a Swing begins.
For instance, say I am looking at a chart and see that 9 minutes ago, a Swing High occurred and lasted for 7 bars (i.e. there are 7 green dots). How do I capture that the Swing commenced 9 bars ago? I just want to retrieve the bar at which the Swing began.
Thank you.
Isaac
Comment