Pour utiliser le chat, veuillez vous connecter.
Retour aux contacts
Jan 02 2017 at 12:07
posts 7
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
posts 46
//adr calculating
int digits=(int)MarketInfo(Symbol(),MODE_DIGITS);
double pipsdouble=MarketInfo(Symbol(),MODE_POINT)*MathPow(10,digits%2);

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);

Veuillez vous connecter pour commenter .