its a bad idea each time when you are call this function it will be calculate all barsH
hey buddy, I want to develop a EA without using indicator, one ideas that came to my mind was using a built in zigzag function in expert advisor to clearly find pivot and after that expand ea and test strategy, could you please do a favor to me and help me in this journy?
I know that there is already ZigZag custom Indicator in both.
However I am looking for a ZigZag Function which does the same job as ZigZag Custom Indicator.
Don't try to do that. There are no buffers, no IndicatorCounted() or prev_calculated. No way to know if older bars have changed or been added (history update.)
Just get the value(s) of the indicator(s) into EA/indicator (using iCustom) and do what you want with it.
Detailed explanation of iCustom - MQL4 programming forum (2017)
https://www.mql5.com/en/code/39114
I have this running around for quite some time now but I guess it was about time to finish it for publishing.
You can enter the respective array size instead of rates total.
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear Coders
I know that there is already ZigZag custom Indicator in both.
However I am looking for a ZigZag Function which does the same job as ZigZag Custom Indicator.
For eample, I need something like this.
Does any one come across ZigZag logic in function or from any forum or from any blog?
Then please share any link or your ideas here.
Thanks so much in advance. Look forward to hearing from you.
Kind regards.