Create a function that "physically" touches a key of the keyboard

MQL5 Experts Libraries

Job finished

Execution time 29 seconds
Feedback from customer
Talented programmer, optimally written program and compliance with instructions. Is able to produce programs that go beyond the ordinary use of mt5.
Feedback from employee
Positive client, thanks for the order. Open for future collaborations

Specification

Objective: I want to use the signals of my expert advisor on another platform whose programming language does not allow a conversion because the onbook event does not exist. (no equivalent).
So I want to proceed as follows: 
Put the  trading platform i want to use in the foreground with two maccros, one for buy, one for sell.
In the mql5 expert advisor, where my buy and sell signals used to be, there will be the "press buy key" and "press sell key" functions. 

As the New plateform is in foreground , anytime the expert advisor will generate a buy signal for example , it will "physically" press the buy button , like a click or a key , so the signal is transmitted.

Another example just to be clear : if i open google chrome with the search bar on , and the expert advisor generates a buy signal , it will write in the search bar the key that has been set up for "buy signal".

It seems as i saw in the internet it should be something like using the "SendKey" function or something , but the programmer is free in his choice of the way he succeed the work.

One more thing : the programmer has to be careful that his function does not cost too much in execution time so that the operations are carried out in the best possible way, the expert advisor in which I want to integrate his functions generates his signals from OnBook events , so there can be 2 or  3  signal every 5  seconds without any problem.



Responded

1
Developer 1
Rating
(144)
Projects
198
42%
Arbitration
20
25% / 55%
Overdue
9
5%
Free
2
Developer 2
Rating
(170)
Projects
193
11%
Arbitration
37
38% / 35%
Overdue
5
3%
Loaded
3
Developer 3
Rating
(13)
Projects
31
68%
Arbitration
2
0% / 0%
Overdue
10
32%
Working
4
Developer 4
Rating
(204)
Projects
282
34%
Arbitration
34
32% / 29%
Overdue
75
27%
Working
5
Developer 5
Rating
(7)
Projects
8
63%
Arbitration
1
0% / 100%
Overdue
1
13%
Free

Project information

Budget
30+ USD
VAT (20%): 6 USD
Total: 36 USD
For the developer
27 USD