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
While I've written programs in MQL4 before, I've recently downloaded Build 600 with its upgrade to MQL5.
I have downloads from two different brokers: IBFX (build 600/MetaEditor build 883), and MBTrading (build 610/MetaEditor build 887).
When I create a simple Custom Indicator in the MetaEditor from IBFX, the debugger works as expected.
When I create the same Custom Indicator (just the initial template with one string input variable) in the MetaEditor from MBTrading, the debugger terminates immediately without ever hitting the breakpoint I have set at the first line of the OnInit function. The Experts journal has the message "debugging terminated", followed by the message "IndicatorName EURUSD, M1: initialization failed(-1)".
If I remove the input variable, then debugging works as expected in the MBTrading build.
Is there a fix for this?