HHV[counta++]
You are increasing counta, probably beyond the size of HHV[] which you set at 10.
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 section.
Keith Watford:
Thank you for ur helpYou are increasing counta, probably beyond the size of HHV[] which you set at 10.
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 section.
Can you give me some coding to fix it??
I have no idea to fix it based on your answer
Is it just to increase to HHV[100]?
Thank you
if(counta+2 < ArraySize(HHV)) HHV[counta++]=iCustom(NULL,PERIOD_CURRENT,"Zigzag_with_line_at_lows_and_line_at_highs",Iperiod,4,3,3,i)
Add this if before your line like i wrote
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
Hi all
Im using MT4
I have the out of range error because of the below coding
But I dont know why this problem occur...
Please let me know how to fix it.
Thank you