Download MetaTrader 5

may a non -dynatic array be usd as indicator buffer ?

To add comments, please log in or register
Learning MQL5? Start with documentation!
yalewang 2016.02.28 14:01 

i wang use an array[300] as indicator buffer and use setindicatorbuffer bind it ,is it allowed?

should it use arraysetasseries fuction before use it ? 

if  the array copy the data from an standard indicator buffer ,which will be more efficient through use a for loop and copybuffer/copyarray  function ?

under mql4 and mql5 ,is the above qustion has the same resolution?

thanks .

whroeder1 2016.02.28 18:18  
YALEWANG: ,is it allowed?
No, buffers are resized by the terminal.
To add comments, please log in or register