including my indicator into my EA

 


Excuse me guys, I need to include this indicator (Patter Recognition) into my EA (Adeline_Complete) so that it can buy with the bullish patterns and sell with the bearish patterns.


can anybody help me please ?


thanks in advance!

 
dalyelsadat: I need to include this indicator (Patter Recognition) into my EA
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 (using iCustom) and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
          Detailed explanation of iCustom - MQL4 programming forum
Reason: