Trying to create a generic trading EA to an Indicator - page 2

 
Well done . . . it's gets easier with practice . . . but you will still have your "banging head against wall" moments . . . ;-)
 
Willforth:

SetIndexBuffer(2, ExtMapBuffer3);

In the EA....

double iFeed=iCustom(NULL,0,"Indicator",3,0);

Wrong Buffer!!!!

Thus my post's recommendation to
#define IND_LO_FRACT 0
#define IND_HI_FRACT 1
#define IND_SIGNAL   2
double iFeed=iCustom(NULL,0,"Indicator",IND_SIGNAL,0); 
Now where are you passing
extern bool CalculateOnBarClose    = false;
Reason: