graziani:
Good catch, I was not aware of this problem. There is a bug in mql5 here.
If you call a custom indicator from EA, is there a way to know if the indicator initialized successfully?
In my experience, iCustom() always returns valid handle, regardless of result of custom indicators OnInit().
This is also valid for putting custom indicator on chart:
initialization fails, DeInit() is executed, but indicator still exists in Indicator list.
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
If you call a custom indicator from EA, is there a way to know if the indicator initialized successfully?
In my experience, iCustom() always returns valid handle, regardless of result of custom indicators OnInit().
This is also valid for putting custom indicator on chart:
initialization fails, DeInit() is executed, but indicator still exists in Indicator list.