How to change the indicator to EA
wxn2014: I want to change the indicator to EA model, and then print it out in the EA, how to change?
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(s) of the indicator(s) into the EA and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
whroeder1:
Thank you first! I slowly learning first, then see how to solve this problem
I want to change the indicator to EA model, and then print it out in the EA, how to change?