Download MetaTrader 5
To add comments, please log in or register
Do you have idle PCs? Connect them to MQL5 Cloud Network and earn money!
Ma Yuliang
Ma Yuliang 2016.03.20 14:51 

Dear Every One

I am using the function "iCustom"  to got data from zigzag .

code like this


in order to get more data I input some data to history data.

while I increase the int index to 30000 the script stopped with out error alert like "array out of range" .

it's just stopped .

and the max index is different from symbol to symbol .

I had tried "ArraySize"  but there is no array to get the size.

could any one tell me how to get the Max index. so that I could avoid the stop error.

Marco vd Heijden
Marco vd Heijden 2016.03.20 17:22  
Vasyl Nosal
Vasyl Nosal 2016.03.20 18:39  
To add comments, please log in or register