Re-implementing iADX with ENUM_APPLIED_PRICE parameter

To add comments, please log in or register
felipe_sp
6
felipe_sp  

Hi, is it possible to re-implement iADX() using iCustom() or any other option to have ENUM_APPLIED_PRICE on its call (as it was on MQL4)?

MQL4:

double  iADX(
   string       symbol,        // symbol
   int          timeframe,     // timeframe
   int          period,        // averaging period
   int          applied_price// applied price
   int          mode,          // line index
   int          shift          // shift
   );


MQL5:

int  iADX( 

   string           symbol,         // symbol name 
   ENUM_TIMEFRAMES  period,         // period 
   int              adx_period      // averaging period 
   );


Thank you.

To add comments, please log in or register