Setting Hotkeys
-
Hi Dreema,
I would like to make an EA to perform actions pressing a hotkey that I previously set.
I've tried with on chart section and (on chart) Key down block.
But I can't figure out how to make the ea draw a line for example from where the mouse is when I press the hotkey to the top of the next 2 candles.
Can you help me with a little example?
It would be useful to know this to use hotkeys in general with EAs
Thank you
-
I don't have an idea actually. I added these blocks following the documentation, but I don't remember something for hotkeys. I think that something more than a single block is needed for this

-
I hope I don't get you bored with my experimenting every aspect of fxdreema and automatisation in general

-
Haha, it's not only you. I checked MQL4 documentation, but I'm not sure if it's capable of detecting hotkeys. If it's not, then some tricks will be needed. It's not a bad idea to have this, although I personally don't use hotkeys very much.
-
Here is what I found, you can assign hotkey for each script: http://forum.mql4.com/32370