I'm currently working on an expert advisor that uses fibonacci levels. This way I can backtest those levels. I'm using an indicator by deVries (included below) to try and get the last high and low of the ZigZag indicator.
This is what I'm trying... However, it doesn't work.
Could anybody help me out? I have limited programming knowledge, but I'm trying to improve.
swinghigh = iCustom(Symbol(),0, "Zigzag_with_line_at_lows_and_line_at_highs",ExtDepth,ExtDeviation,ExtBackstep,3,0);
swinglow = iCustom(Symbol(),0,"Zigzag_with_line_at_lows_and_line_at_highs",ExtDepth,ExtDeviation,ExtBackstep,4,0);
To add comments, please log in or register