I'm looking to convert an oscillator from an OnBarClose calculation to an OnPriceChange calculation. The problem I have is there is a counter which counts the number of consecutive bars the oscillator has been in overbought or oversold. Other than that, I think there are no other issues.
Could you suggest how I can proceed with the conversion?
Regards
Kay Wai

Comment