Download MetaTrader 5
To add comments, please log in or register
The Market has more than 400 indicators. Try any of them!
yalewang
577
yalewang 2014.12.15 04:30 
how  many  buffur may used in an indicator ? in updated MQL ?
honest_knave
969
honest_knave 2014.12.15 06:11  
yalewang
577
yalewang 2014.12.15 06:50  
int OnInit()
  {
//--- indicator buffers mapping

   IndicatorBuffers(512);

.........................................................

?

whroeder1
13644
whroeder1 2014.12.15 14:00  
YALEWANG: how many buffur may used in an indicator ? in updated MQL ?
honest_knave: 512
YALEWANG: ?
In the link provided, what part of

Note

The amount of buffers cannot exceed 512 and be less than the value set in #property indicator_buffers.
was unclear?
yalewang
577
yalewang 2014.12.15 14:11  

yes ,thanks

i made an indicator ,use 30  buffurs , it may may pass compile , but no line showed ,on chart .

honest_knave
969
honest_knave 2014.12.15 14:44  

Did you declare 30 dynamic arrays, bind each buffer to an array, specify the style for each buffer, and finally assign values to the buffers?

Everything is rather vague without any code... 

/
To add comments, please log in or register