Use keyboard functions in MQL4

 
How to use keyboard functions to call function in my EA
 

You can catch this event:

ID

Description

CHARTEVENT_KEYDOWN

Keystrokes


For more details refer to documentation.

Types of Chart Events - Chart Constants - Constants, Enumerations and Structures - MQL4 Reference
Types of Chart Events - Chart Constants - Constants, Enumerations and Structures - MQL4 Reference
  • docs.mql4.com
Types of Chart Events - Chart Constants - Constants, Enumerations and Structures - MQL4 Reference