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

MQL5 Asesores Expertos Bibliotecas

Trabajo finalizado

Plazo de ejecución 29 segundos
Comentario del Cliente
Talented programmer, optimally written program and compliance with instructions. Is able to produce programs that go beyond the ordinary use of mt5.
Comentario del Ejecutor
Positive client, thanks for the order. Open for future collaborations

Tarea técnica

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.



Han respondido

1
Desarrollador 1
Evaluación
(144)
Proyectos
198
42%
Arbitraje
20
25% / 55%
Caducado
9
5%
Libre
2
Desarrollador 2
Evaluación
(166)
Proyectos
189
10%
Arbitraje
37
38% / 35%
Caducado
5
3%
Trabajando
3
Desarrollador 3
Evaluación
(12)
Proyectos
29
66%
Arbitraje
2
0% / 0%
Caducado
9
31%
Trabaja
4
Desarrollador 4
Evaluación
(204)
Proyectos
278
33%
Arbitraje
34
32% / 29%
Caducado
75
27%
Trabaja
5
Desarrollador 5
Evaluación
(7)
Proyectos
8
63%
Arbitraje
1
0% / 100%
Caducado
1
13%
Libre

Información sobre el proyecto

Presupuesto
30+ USD
IVA (20%): 6 USD
Total: 36 USD
Para el ejecutor
27 USD