convert UpTicks alert indi into Condition for OrderSend in EA

 
   for(i=0; i<limit; i++)
     {
      UpTicks[i]=(Volume[i]+(Close[i]-Open[i])/Point)/2;
      DownTicks[i]=Volume[i]-UpTicks[i];
      if(UpTicks[0]>=100 && DownTicks[0]<=50)
      Alert("BUY (", Symbol(), ", ", Period(), ") !!!"); 
     }

above is part of an alert from TickSeperateVolume indicator; someone please help point out a way to convert "if Uptick is >=100 and DownTicks is <=50"

I would like to add this condition to OrderSend function in an EA(using M1).

Thanks

Files:
 
getting: I would like to add this condition 
Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.