Simulate a Ctrl + F4 keypress ?
See #define's for known commands that can be used for PostMessageA() - MQL4 forum
#define MT4_WMCMD_57602 57602 /* close the current chart */
Thanks folks, I'll give these a try.
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
The Topic about says it: How can I get an EA to close the chart it is on after the last trade on it closes ?
Thanks for any and all assistance.