Download MetaTrader 5
To add comments, please log in or register
Publish your article to let the traders see it in MetaTrader 5!
Bro840
104
Bro840 2016.02.11 00:05  
now try it on CHFJPY and  select 1Day time frame
Keith Watford
Moderator
8860
Keith Watford 2016.02.11 01: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.
whroeder1
13959
whroeder1 2016.02.11 01:49  
In any case, since the buffer is never assigned to, the image posted can not be generated by the code posted.
Bro840
104
Bro840 2016.02.11 01: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
Bro840
104
Bro840 2016.02.11 02:01  
my indicator is working just fine omfg how i didn't saw rsrsrsrsrsrsrsrs CHFJPY has a candle from 115 to 138 
Bro840
104
Bro840 2016.02.11 02: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 :)
/ /12
To add comments, please log in or register