Download MetaTrader 5

keystroke triggers

To add comments, please log in or register
MQL5 library has more than 1500 apps already. Contribute your own one!
milfordT
128
milfordT 2012.07.02 23:20 

Is there any way to cause a script to run when a particular function key is pressed like F9?

 thanks in advance 

onewithzachy
2271
onewithzachy 2012.07.03 00:47  
milfordT:

Is there any way to cause a script to run when a particular function key is pressed like F9?

 thanks in advance 

Hi milfordT,

Did you meant something like hotkey ? Open MT5/MT4 > Open Navigator (Ctrl + N) > right click select "Set hotkey".

:D 

milfordT
128
milfordT 2012.07.05 22:35  

Hi thanks for that. 

It seems I can create CTRL- and ALT hot keys but is there a way to turn one of the function keys into a hot key?   Would like to avoid having to hold down CTRL or ALT to access script. 

onewithzachy
2271
onewithzachy 2012.07.06 03:56  
milfordT:

Hi thanks for that. 

It seems I can create CTRL- and ALT hot keys but is there a way to turn one of the function keys into a hot key?   Would like to avoid having to hold down CTRL or ALT to access script. 

Hi milfordT,

Nope, they hardcoded reserved for MT :(

:D 

To add comments, please log in or register