It's a dynamic array and all the resizing happens here
SetIndexBuffer(1, Buffer2);
armandaneshvar:
PlotIndexSetDouble(0, PLOT_EMPTY_VALUE, 0);
PlotIndexSetInteger(0, PLOT_ARROW, 241);
SetIndexBuffer(1, Buffer2);
- When you post code please use the SRC button !
- MT4 doesn't have those functions.
- Perhaps you should read the manual.For indicator buffers, all operations of size changes are performed by the executing sub-system of the terminal.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
double Buffer1[];
double Buffer2[];
int OnInit()
limit++;
I have this pre-built code, it seems that they have made an array for the buffer, but nowhere they specify out of how many items the array consists. I don't see something like Buffer1[5000], so where do they handle this?