that's very easy, you just have to use a function called iCustom
Don't try 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 of the indicator into the EA and do what you want with it. You should encapsulate your iCustom calls to make your code self-documenting.
Just get the value of the indicator into the EA and do what you want with it. You should encapsulate your iCustom calls to make your code self-documenting.

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
Hi Traders & Coders,
I am wondering how can i Combine an Indicator with Expert advisor?
Thanks