How to get an information from user interface ? MQL5
Axel: I'm creating a simple script that opens a long position. Here's my code: For instance, it can only open a long position with a fixed lot size (1.0) I would like my script to read the size lot from the UI on the top left hand corner of the screen: Is there a library, or any way for the script to get this information and put it as a value ? Thanks in advance for your answers.
Not possible to read the values in the built-in trading panel. No access is provided in MQL. You have to implement your own graphical trading panel, like the many examples of such in the CodeBase.
Hello,
I'm creating a simple script that opens a long position.
Here's my code:
For instance, it can only open a long position with a fixed lot size (1.0)
I would like my script to read the size lot from the UI on the top left hand corner of the screen:
Is there a library, or any way for the script to get this information and put it as a value ?
Thanks in advance for your answers.