EA that is running the Super-Point-Signal.ex4 indicator.

 

I need to program the EA that is running the Super-Point-Signal.ex4 indicator.

Please advise me how to program it correctly.

Thank you.

===============================================================

double sps_UP = iCustom(NULL,0,"Super-Point-Signal",0,0);
double sps_DOWN = iCustom(NULL,0,"Super-Point-Signal",1,0);

if(sps_UP>0 && UpTrade)
{
      UpTrade=false;
      DownTrade=true;

}

if(sps_DOWN>0 && DownTrade)
{
      UpTrade=true;
      DownTrade=false;

}

===============================================================