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)
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)
Good morning companions.
I am trying to convert an indicator that I have used for a while into an EA. I don't want to call the indicator with iCustom, so I want to integrate it within the EA.
I don't want to draw the buffers, just get the Bars Counted, Bars Ratio, Atr Multipler Top Line and Bottom Line values. (On the Ea, on the indi is fine, as you can see in the picture)
Can someone help me with this? Very Thanks.
Using Icustom(..)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Thanks