- If IndicatorCounted is zero, variable i is Bars and any predefined array indexed by Bars does not exist. Array exceeded - indicator crashes.
- Fix your broken indicator. How to do your lookbacks
correctly.
whroeder1:
Thank you.
- If IndicatorCounted is zero, variable i is Bars and any predefined array indexed by Bars does not exist. Array exceeded - indicator crashes.
- Fix your broken indicator. How to do your lookbacks
correctly.
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
I have an issue on my custom indicator. It was working fine in the previous version but on this latest release, it does not print on the chart anymore. I have to use it on the older version of MT4.
Anyone knows how to fix this?
int start()
{
for(int i=Bars-IndicatorCounted(); i>0; i--)
{
//my codes here
}