extern double lot =0.1;
extern double sl =10;
extern double tp =2.5;
extern double trailing =0;
extern int MaxOrder =0;
int start()
{
double var1 = iStochastic(NULL,0,3,2,3,0,0,1,0);
double var2 = iRSI(NULL,0,7,0,0);
double var3 = iCCI(NULL,0,14,0,0);
double var4 = iOsMA(NULL,0,12,26,9,0,0);
if(( var2 > var4 ) && ( var3 > var4 ) && ( var1 > var4 )){
OrderSend(Symbol(),OP_SELL,lot,Bid,3,sl,tp,"EA Creator",123,0,Green);
OrderSend(Symbol(),OP_SELL,lot,Bid,3,sl,tp,"EA Creator",123,0,Green);
}
if(( var2 < var4 ) && ( var3 < var4) && ( var1 < var4 ) ){
OrderSend(Symbol(),OP_BUY,lot,Ask,3,sl,tp,"EA Creator",123,0,Green);
OrderSend(Symbol(),OP_BUY,lot,Ask,3,sl,tp,"EA Creator",123,0,Green);
}
return(0) ;
}