Download MetaTrader 5

How I can get the value of ADX? - For a symbol ()

To add comments, please log in or register
Tiago Cetto Pietralonga
531
Tiago Cetto Pietralonga  

How I can get the value of ADX? - For a symbol ()?

 

Thank you 

Osama Shaban
1500
Osama Shaban  
   double  ADX_Trend = iADX(Symbol(),0,ADX_Period,PRICE_CLOSE,MODE_MAIN,Bar_Shift);     //Trend Strength line
   double   ADX_Plus = iADX(Symbol(),0,ADX_Period,PRICE_CLOSE,MODE_PLUSDI,Bar_Shift);   //D+ line
   double  ADX_Minus = iADX(Symbol(),0,ADX_Period,PRICE_CLOSE,MODE_MINUSDI,Bar_Shift);  //D- line
Tiago Cetto Pietralonga
531
Tiago Cetto Pietralonga  
Osama Shaban:
Thank you, it's working
To add comments, please log in or register