![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Nope. I just check.
OnInit and OnDeinit are executed. Documentation needs to be corrected.Nope. I just check.
OnInit and OnDeinit are executed. Documentation needs to be corrected.Hi Alex, it would be probably useful if the compiler complain when OnInit() or OnDeinit() are used concurrently with OnStart().
We will think about it.
Or make mql5 scripts allow OnInit and OnDeinit. Having 2 inconsistent languages cannot be a good thing in the long-run.
Does OnTrade() actually work?
I created a simple EA with just Print("a trade event...") there and it doesn't trigger no matter what trade I open/close/modify manually in the terminal.When I try to create new Expert Advisor from a template the OnTrade() is grayed out.
And again - why compiling any EA resets other working EAs on open charts despite they're not related?The reset reverts all settings to defaults which may be dangerous in some cases. I have to switch to an empty profile to safely compile anything.
OnTrade functionality isn't implemented at this moment.
And when would it become alright taking away Hedging || Import-Data || Backward Compatibility?
Imo, they weren't brave enough to tell everyone to reprogram all their stuff this time.
Lets say you're right, when someone does port from mql4+ > mql5, they'll be cussing again about the OnInit Bug within their Scripts.
And when would it become alright taking away Hedging || Import-Data || Backward Compatibility?
Imo, they weren't brave enough to tell everyone to reprogram all their stuff this time.
Lets say you're right, when someone does port from mql4+ > mql5, they'll be cussing again about the OnInit Bug within their Scripts.
If someone needs compatibility between mql4 and mql5, he has to check the documentation, and knows both language.
There is no "OnInit bug". It was a "bug" in the documentation.
If someone needs compatibility between mql4 and mql5, he has to check the documentation, and knows both language.
There is no "OnInit bug". It was a "bug" in the documentation.
Wouldn't knowing One language be better than knowing Two?
Yeah I know. I'm one of the guys telling people about differences in language/behavior when they're crying bugs because they do-not get a behavior they expected.
Added: People posting on the forum do-not usually say "there's a bug in the documentation".
Wouldn't knowing One language be better than knowing Two?
Yeah I know. I'm one of the guys telling people about differences in language/behavior when they're crying bugs because they do-not get a behavior they expected.
Added: People posting on the forum do-not usually say "there's a bug in the documentation".
Sorry but I don't get your point. What is at stake in this discussion ?
MT4 and MT5 different platforms, mql4 and mql5 are different programming languages. They have now a subset of the language in common. It's only RaptorUK who said that mql4 will be replaced by mql5, he can said what he wants, that does not make it a truth.