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