Download MetaTrader 5

Inverse Limited ZigZag

To add comments, please log in or register
Mehdi Donyadideh Ahrab
2285
Mehdi Donyadideh Ahrab  

Hi everyone,

All of Zigzag Indicators Make Backtest very slow.

I need a code that calculate limited zigzags from right to left (EXP. Just 6 zigzags that given from extern input), And it has only "ExtDepth" in Extern inputs, just like "DT_ZZ_nen" Indicator.

And I don't need to draw lines, I want to use this code in an Expert and I Need Top[0], Bottom[0], Top[1],Bottom[1], Top[2], .. until zigzag limit.

For Exp. int Top[0] = 10;

that means: Bar number of first Top is 10th.

Can anyone do this favor? :)

Best Regards

Files:
Ian Venner
2584
Ian Venner  

This mql4 forum is for people who are coding themselves. You should post requests for coding work in the jobs forum.

Mehdi Donyadideh Ahrab
2285
Mehdi Donyadideh Ahrab  
SDC:

This mql4 forum is for people who are coding themselves. You should post requests for coding work in the jobs forum

Thanks.
To add comments, please log in or register