Wednesday, 26 December 2012

EA write using this Advanced ADX indicator


I am want to write a EA write using this Advanced ADX indicator...

Buy
ADX color green and (ADX this hour> ADX previous hour)


Sell
ADX color red and (ADX this hour< ADX previous hour)

thx
sonic


PHP Code:
for (Bars 205>= 0--)
   {
   
  
double adx1         =iCustom(NULL0"Advanced_ADX",13,0,i); 
  
double adx2         =iCustom(NULL0"Advanced_ADX",13,1,i); 
  
   if ((
adx1[i]>adx2[i])&&(adx1[i+1] > adx1[i]) // BUY 
      
BUY routine}
   
   if ((
adx1[i]<adx2[i])&&(adx1[i+1] < adx1[i]) // SELL  
      
SELL routine}

}  
Attached Thumbnails Attached ThumbnailsClick image for larger version. 

Name: advanced_adx_1.gif 
Views: 417 
Size: 16.1 KB 
ID: 63026 
 Attached Files

No comments:

Post a Comment