Vladimir Karputov:
As far as I know, there is no such function in MQL5 - 'Trade History' only for manual control.
I can confirm, there is no option to act on that control via MQL5 language.
But you can, however, create a template, on which you have that option active, and save the template using the name "default.tpl"
This way, that option will always be active for every window you open.

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
which function call corresponds to the "trade history" option in the mt5 right-click menu in MetaEditor ,thanks!