//PIPSTALKER EA by tdion int ticket1, ticket2, ticket3, ticket4, ticket5, ticket6, ticket7, ticket8; double o, h, l, c; extern int TP = 145; extern int TP2 = 300; extern int SL2 = 40; extern int SL = 37; extern int trigger = 55; extern int trigger2 = 20; double size; double balance; double balancehigh=0; double oldbalance; double height; int start() { balance = AccountEquity(); if(balance>balancehigh) balancehigh = balance; //size=(MathRound(AccountEquity()/1000))/10; size=0.1; if((balance/balancehigh)>0.79) { //size =(MathRound(AccountEquity()/500))/10; } if(Open[0]!=o) if(High[0]!=h) if(Low[0]!=l) if(Close[0]!=c) { o = Open[0]; h = High[0]; l = Low[0]; c = Close[0]; if((Close[1] - Open[1] > trigger*Point)||(Open[1] - Close[1] > trigger*Point)) if((iRSI(NULL,0,14,PRICE_CLOSE,1)<70)&&(iRSI(NULL,0,14,PRICE_CLOSE,1)>30)) { ticket1=OrderSend(Symbol(),OP_BUY,size,Ask,3,Ask-SL*Point,Ask+TP*Point,NULL,0,0,Green); ticket2=OrderSend(Symbol(),OP_SELL,size,Bid,3,Bid+SL*Point,Bid-TP*Point,NULL,0,0,Red); } if((Close[1] - Open[0] > trigger2*Point)||(Open[0] - Close[1] > trigger2*Point)) { ticket3=OrderSend(Symbol(),OP_BUY,size,Ask,3,Ask-SL2*Point,Ask+TP2*Point,NULL,0,0,Green); ticket4=OrderSend(Symbol(),OP_SELL,size,Bid,3,Bid+SL2*Point,Bid-TP2*Point,NULL,0,0,Red); } if((Low[2] < Low[1] - 25*Point)&&(Low[2] < Low[3] - 25*Point)) ticket5=OrderSend(Symbol(),OP_BUY,size,Ask,3,Ask-30*Point,Ask+100*Point,NULL,0,0,Green); if((High[2] > High[1] + 25*Point)&&(High[2] > High[3] + 25*Point)) ticket6=OrderSend(Symbol(),OP_SELL,size,Bid,3,Bid+30*Point,Bid-100*Point,NULL,0,0,Green); if(MathAbs(Low[2] - Low[1]) < Point*2) if(Low[1] < Close[1] - Point*45) ticket1=OrderSend(Symbol(),OP_BUY,size,Ask,3,Ask-50*Point,Ask+150*Point,NULL,0,0,Green); if(MathAbs(High[2] - High[1]) < Point*2) if(High[1] > Close[1] + Point*45) ticket1=OrderSend(Symbol(),OP_SELL,size,Bid,3,Bid+50*Point,Bid-150*Point,NULL,0,0,Green); } return(0); }
Sample
Analysis
Market Information Used:
Series array that contains open prices of each bar
Series array that contains the highest prices of each bar
Series array that contains the lowest prices of each bar
Series array that contains close prices for each bar
Indicator Curves created:
Indicators Used:
Relative strength index
Custom Indicators Used:
Order Management characteristics:
It automatically opens orders when conditions are reached
Other Features: