I am wondering what code i would need to write in order to be able to call up the value of the last peak and 2nd last peak in the zigzag parabolic SAR indicator, and the same for the troughs. i want to be able to compare the two price values to determine trend. any help appreciated.
thanks for that i am just starting out in progamming and so need some more advice, i am basically wanting to determine trend from the zigzag parabolic SAR indicator i.e. have another line or separate indicator whichever is easier, that is 1 if last peak is higher than the 2nd last peak or -1 if last trough is lower than 2nd lowest trough.
Hi everyone, I found www.earnforex.com for this indicator and I see that they do not have it among their indicators, it is not in MT4, but it is an excellent indicator, clean, stable and useful, I think they should leave it on your page. regards