I'm trying to use the Swing indicator to mark swing highs and lows. For some reason I'm getting weird hits on Swing lows where it seems to mark every bar (except the high pivot) as a pivot low after I load up the script. Swing highs are correct...
Also, I'm running the swing high low finder for every most recent bar and if I'm trying to find the last 10 pivots its doing the same redundant calculation for every new bar. Is there a way to do this once when the script loads up on the chart and then only track the most recent pivot high and low. This will prob help with memory and performance management.
thanks in advance for your help
Comment