Posted By: Oligon
Doubt on accesing indicator previous values!! Anyone can help? - 10/23/17 19:05
Hello everyone!
I'm very excited to try Zorro, however I'm having some trouble to figure out how can I access previous values of the ZigZag indicator. For example if I want to get the rPeak value but 2 values before the current value, how would I approach it? I know rPeak is a global var type, but how can I access for example rPeak(2)?
Thanks so much in advance for anyone that could point me in the right direction!!
I'm very excited to try Zorro, however I'm having some trouble to figure out how can I access previous values of the ZigZag indicator. For example if I want to get the rPeak value but 2 values before the current value, how would I approach it? I know rPeak is a global var type, but how can I access for example rPeak(2)?
Thanks so much in advance for anyone that could point me in the right direction!!