LibraryFreeMT5 and MT4
One include file with no other dependencies. The user sets each shortcut as text, such as Shift+B or Ctrl+Shift+1. A shortcut that cannot work is refused when the program starts, with the reason, so the user never presses a key that does nothing.
What it does
- Shortcuts as inputs. "Shift+B", "ctrl + shift + 1" or just "B", in any case and with any spaces. Empty or "none" switches a shortcut off.
- Exact modifiers. Shift+B fires only on Shift+B, never on a plain B, so typing on the chart does not open a trade by accident.
- One press, one action. Auto-repeat from a held key is ignored, and no key can fire two actions.
- Clear errors. Every call that can fail returns an error code with a reason you can show the user. The library never prints anything itself.
