What I'm trying to do is get the last 5 zig values (both price and time).
I know the basics
But I'm trying to figure out how to get the last 5 values. I also need to determine whether they are a high value or low value.
Any ideas?
I know the basics
Inserted Code
double varZigZag=iCustom(NULL,0,"ZigZag",varExtDepth,varExtDeviation,varExtBackstep,0,varBar); datetime varDateTime=itime(null,0,varBar);
But I'm trying to figure out how to get the last 5 values. I also need to determine whether they are a high value or low value.
Any ideas?