Error 4029 Invalid array

Back to topics list  | 1 2 To post a new topic, please log in or register
avatar
33
bro840 2016.02.11 01:05 #
 
now try it on CHFJPY and  select 1Day time frame
avatar
Moderator
3418
GumRai 2016.02.11 02:05 #
 
bro840:
now try it on CHFJPY and  select 1Day time frame
It is exactly the same, with the ArrayResize on the buffer, error 4029. Remove the ArrayResize and no error.
avatar
13001
WHRoeder 2016.02.11 02:49 #
 
In any case, since the buffer is never assigned to, the image posted can not be generated by the code posted.
avatar
33
bro840 2016.02.11 02:59 #
 
int OnInit()
{  
   SetIndexBuffer(0,Indicador);                          // Assigning an array to a buffer
   SetIndexStyle (0,DRAW_HISTOGRAM,STYLE_SOLID,5);       // Line style
                                                           
   return(INIT_SUCCEEDED);
}
I don't get you it's assigned on OnInit
avatar
33
bro840 2016.02.11 03:01 #
 
my indicator is working just fine omfg how i didn't saw rsrsrsrsrsrsrsrs CHFJPY has a candle from 115 to 138 
avatar
33
bro840 2016.02.11 03:04 #
 
WHRoeder:
In any case, since the buffer is never assigned to, the image posted can not be generated by the code posted.
I understand it's because you came after i removed the total code. I Put in here so the GumRai could test it and then i removed :)
Back to topics list   | 1 2  

To add comments, please log in or register