ZZ object | Properties: |
int lastPeakBar | Returns the bar number of the most recently detected peak. |
int lastTroughBar | Returns the bar number of the most recently detected trough. |
int lastPeakOrTroughBar | Returns the bar number of the most recently detected peak or trough. |
double lastPeakPrice | Returns the price of the most recently detected peak. |
double lastTroughPrice | Returns the price of the most recently detected trough. |
double lastPeakOrTroughPrice | Returns the price of the most recently detected peak or trough. |
bool peakDetected | Returns true when a peak of the ZigZag reversal percentage has been detected. The value remains true until a new trough is detected. |
bool troughDetected | Returns true when a trough of the ZigZag reversal percentage has been detected. The value remains true until a new peak is detected. |