I'm missing a concept. If I'm looking for a condition, for example where a Stochastic 'K' goes above 40. I understand that the first time 'K' crosses above 40, the CrossAbove() function will return true. My question is if the next bar still has the Stochastic 'K' calculated above 40, will CrossAbove(), when called in OnBarUpdate, still return a true or does it only do it for the first time that it crosses 40?
Thank you,
Ken
Comment