View Single Post
  #5 (permalink)  
Old 05-27-2007, 04:11 PM
budhax budhax is offline
Junior Member
 
Join Date: Aug 2006
Posts: 8
budhax is on a distinguished road
Is it a wrong parametre for diRSI1 ?

Hello,

I refer this EA:
http://www.forexmt4.com/_MT4_Experts..._tp10_sl22.mq4


1. Should be "1" (instead of 0) for the last parametre on this line?
Code:
double diRSI1=iRSI(NULL,60,3,PRICE_CLOSE,0);
Because, on the previous line there is:
Code:
double diRSI0=iRSI(NULL,60,3,PRICE_CLOSE,0);


2. For what is this function? It is not used in the EA.
Code:
void ModifyStopLoss(double ldStopLoss) { 
   bool fm;
   fm = OrderModify(OrderTicket(),OrderOpenPrice(),ldStopLoss,OrderTakeProfit(),0,CLR_NONE); 
   if (fm && UseSound) PlaySound(NameFileSound); 
}
Thanks
Reply With Quote