Aby korzystać z czatu, zaloguj się.
Powrót do kontaktów
abiolaribigbe
Jan 02 2017 at 12:07
7 postów
Please i need someone to help me get 5day Average daily range to my meta 4 platform...I have no idea how to get this and how to install it..I will appreciate your help!!

Dave (dragonEA)
Jan 18 2017 at 12:07
46 postów
//adr calculating
int digits=(int)MarketInfo(Symbol(),MODE_DIGITS);
double pipsdouble=MarketInfo(Symbol(),MODE_POINT)*MathPow(10,digits%2);
 
intADR_D1=int((iHigh(Symbol(),PERIOD_D1,1)-iLow(Symbol(),PERIOD_D1,1))/pipsdouble);

int ADR_W1=int((iMA(Symbol(),PERIOD_D1,5,0,MODE_SMA,PRICE_HIGH,1) - iMA(Symbol(),PERIOD_D1,5,0,MODE_SMA,PRICE_LOW,1))/pipsdouble); //5 days ADR

int ADR_M1=int((iMA(Symbol(),PERIOD_D1,25,0,MODE_SMA,PRICE_HIGH,1)-iMA(Symbol(),PERIOD_D1,25,0,MODE_SMA,PRICE_LOW,1))/pipsdouble);


Zaloguj się aby skomentować .