Forum

send message to whatsapp by api in mql4

for send signal to whatsapp by api need help.how to send it

use iMAonArray for volume

double arrayvolume[]; double frist_eem= 0 ; double sum_ema_frist= 0 ; ArrayResize (arrayvolume, 101 ); for ( int i= 0 ;i<= 100 ;i++) { arrayvolume[i]=( double ) iVolume ( NULL , PERIOD_M5 ,i); } Print (arrayvolume[ 10 ]); Print (iMAOnArray(arrayvolume, 0 , 10 , 0 , MODE_EMA , 0 ));===>>>error array

error out of range for mql4

please help me to solve this error in last line of loop , error array out of range ??? why? double ma_valum(int shift=0,int number_of_day=100,int period=5) { double arrayvolume[]; for(int i=0;i<number_of_day;i++) { int new_size=i+1; ArrayResize(arrayvolume,new_size);