Download MetaTrader 5

may we use more than 8 buffers or arrays in an indecator or EA ?

To add comments, please log in or register
yalewang
610
yalewang  

may we use more than 8 buffers or arrays in an indecator or EA ?

Simon Gniadkowski
Moderator
18058
Simon Gniadkowski  
YALEWANG:

may we use more than 8 buffers or arrays in an indecator or EA ?

Buffers are a special type of array only used in Indicators. You can't use more than 8 of them in an Indicator. You can use more than 8 Arrays in Indicators, Scripts or EAs . . . but an Array is not a Buffer.

More info here: Transferring an Indicator Code into an Expert Advisor Code. Indicator Structure

whroeder1
17116
whroeder1  
RaptorUK: Buffers are a special type of array only used in Indicators. You can't use more than 8 of them in an Indicator.
If you need more than 8, you have to manage the extra arrays yourself. See my ResizeBuffer()
yalewang
610
yalewang  
thanks all of you
To add comments, please log in or register