Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 has event handling?
Sneck55
100
Sneck55 2014.04.10 14:20 
I have been using the following line: double ThisZigZag = iCustom(NULL,0,"ZigZag",12,5,3,3,0); in order to try to work out whether or not the indicator is going up or down but it just returns 0.0 (zero) all the time. I have spent all day trying to get some help and would welcome any suggestions.
qjol
3243
qjol 2014.04.10 14:32  

is the zigzag indicator located in the right place ?

try:

iCustom(NULL,0,"ZigZag",12,5,3,0,0);
Keith Watford
Moderator
7870
Keith Watford 2014.04.10 15:00  
 iCustom(NULL,0,"ZigZag",12,5,3,3,0);
Does the zig-zag indicator have a buffer number 3?
Tjipke de Vries
6275
Tjipke de Vries 2014.04.10 15:06  
See Topic https://www.mql5.com/en/forum/144092 some examples how you can use code to find lows and highs
/
To add comments, please log in or register