Trying to create a generic trading EA to an Indicator - page 2 12 New comment Simon Gniadkowski 2012.05.16 15:25 #11 Well done . . . it's gets easier with practice . . . but you will still have your "banging head against wall" moments . . . ;-) William Roeder 2012.05.16 16:41 #12 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; 12 New comment
SetIndexBuffer(2, ExtMapBuffer3);
In the EA....
double iFeed=iCustom(NULL,0,"Indicator",3,0);
Wrong Buffer!!!!