Trust me if what I'm asking is out ther I would've found it. I need to find the values on custom time frames. iCustom only returns values from standard mt4 time frames.
I'm seeing if someone has a quick way around this for a single EA or at least could explain how the source works.
When you say "custom time frames" which ones do you mean?
There are a lot of time frames available: enum_timeframes
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I need to obtain the last few peak and low values of the zigzag buffer for time frames not pre programmed into mt4 all in a single EA.
I've read the source and a few articles on the zigzag implementation but am still dumbfounded.
Does any one know how it works in better terms or have an idea on how to obtain those last values?
I see I could probably resort to calculating past fractals and see which distances between up and down fractals are > than depth.