Can't make my EA communicate with my "Custom Indicator"

 

I’ve been testing for my EA & custom Indicator to communicate, below is my latest “Tester EA” interfacing with my Indicator:

int start()

{

double Timer, Resist_Pr;

Timer = 60*Period() - TimeSeconds(Time[0]); //---General Timer depending on period selected from the "chart timeframe"...

Print("Timer is now: ", Timer);

if(RefreshRates()){

Resist_Pr = iCustom(NULL,0,"Resist_Price_Test",30,0,0);

Print("Resist_Pr is now:", Resist_Pr);

}

return(0);

}

double iCustom(

string symbol, int timeframe, string name, ..., int mode, int shift)

I don’t really understand the 4th parameter < the one to do with the passed parameters> & the 6th one to do with “shift”. The param 30 passed as the 4th param stands for “extern int BarsInvolved” in the calculation.

PLEASE help me out on this I want to make my EA communicate with my “Custom Indicator”.

 
l061vh:

I’ve been testing for my EA & custom Indicator to communicate, below is my latest “Tester EA” interfacing with my Indicator:


Don't double post . . . use this thread or the other, chose which one ?
Reason: