EAs run automatically at the start of a new tick, not by a key press.
You can assign a key to a script which would either continue to run on the chart until trade finished or would communicate with the EA via Global Variables or a file.
I don't think the INS key can be used any more than the control or shift key can as they don't send a character, they modify the next character.
See also Buttons & Textfields on mt4 chart possible now - MQL4 forum
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
Hi,
I would like to use INS key in my EA. After press the INS key the EA should display InputBox() dialog.
How to programm and assign the INS key on expert advisor using MQL4 syntax?
Rgds,
Puncher