Download MetaTrader 5

zoom in shortcut on "=" key instead of shift+"=" (autohotkey solution)

To add comments, please log in or register
Mihai Ionescu
1356
Mihai Ionescu  

After posting a message to service desk, asking for zoom in shortcut as in MT5 (which knows about "-" and "=" keys on first row on keyboard)

they told me I need to use Shift + "=" to zoom in.

huh? thats very intuitive, thanks but no thanks. 


I searched for a solution, and the most flexible was autohotkey software.

I cannot attach an .ahk autohotkey script file, so you need to create it yourself. Here is the code:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#IfWinActive ahk_class MetaQuotes::MetaTrader::4.00
+=::=
=::NumpadAdd
#IfWinActive

IfWinNotActive ahk_class MetaQuotes::MetaTrader::4.00
=::=
#IfWinNotActive

 

The script will generate "+" when you press "=" key.

Basically it reverses "+" and "=", so that if you still need to press "=", you do it with Shift+"=" 

When MT4 is not active or is closed,  everything comes back to normal.

 

The only annoyance is you need to run the script each time you run MT4 (but the script can be run automatically at startup if you want)

whroeder1
14779
whroeder1  
mishhh: they told me I need to use Shift + "=" to zoom in.
Or just use the +/- keys on the numeric keypad.
To add comments, please log in or register