NavigationUser loginWho's new
Who's onlineThere are currently 0 users and 51 guests online.
|
Send Keyboard keys to MetaTrader!Hi folks, I hope you find the tool of today a useful one. Our tool today is how to send keyboard strokes to MetaTrader from your MQL4 code. For example: You want to open the Option window from your script (CTRL+O). You want to shutdown MetaTrader (ALT+F4). The scenarios are unlimited! Our script has two only functions: void SendKey(int key,bool release = false)Use this function to send a key stroke to MetaTrader. void ReleaseKey(int key)Use this function to release the key you have sent if you didn't release it already using the second parameter of SendKey. I hope you enjoy the tool and I'm waiting the scenarios you used the tool in.
|