View Single Post
Old 2008-12-04, 10:34 AM   #11 (permalink)
jimsmithuk
Rookie Pip Officer
 
Trader for 0 - 1 year
Location: Ireland
Posts: 27

Default

Actually it would be good to understand what these variables are for: (If David could explain?)
extern double SAR_Step = 0.02;
extern double SAR_Maximum = 0.2;
extern double Shift=0;


these variables are then used to create two other numeric variables:
double SARCurrent=iSAR(NULL,0,SAR_Step,SAR_Maximum,Shift) ;
double SARPrevious=iSAR(NULL,0,SAR_Step,SAR_Maximum,Shift +1);


The EA will open a sell order if:
the price is less than SARCurrent AND price is greater than the SARPrevious
Maybe it's just me I know nothing about SARs!.

if(SARCurrent>Ask && SARPrevious<Ask)
jimsmithuk is offline   Reply With Quote