
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How will you make the interface communicate with your programming code?
When you click on any control in the winform interface, an event is added to the C# list, and EA runs a timer loop to determine if there is an event in the list.
Ok, can you answer the rest of the questions:
As a result, all the above questions, as well as many others, boil down to one main question:
Is it possible to create a full-fledged trading application with a rich graphical interface using C# and WinForms, and at the same time, in some miraculous way, to stay connected with MT5, implementing all solutions through the timer crutch?
Okay, can you answer the rest of the questions?
I'm mainly interested in being able to use the panel control EA in the tester
Solve this with the help of C#. Good luck with that.
Actually it has already been done by someone else. And the commom approach of use only MQL to create the gui does not suit when need to work with strategy tester.
On another hand you cannot publish products that uses c# in the MQL Market.
Both approchs ha his drawnback.
I'm mainly interested in the possibility of using the EA to control the panel in the tester
If you have a trading interface, what is the problem to substitute the sending of a trade order for the recording of this order in a variable, with subsequent calculation of profit/loss, i.e. emulate trading in the terminal.
I am sure it is much easier to implement than in the tester. You can move the chart with the ChartNavigate() function , and just hide the right part of the chart either with a canvas or with the usual OBJ_RECTANGLE_LABEL .
Actually this has already been done by someone else.
Yes, here https://www.mql5.com/ru/code/24829
Yes, here https://www.mql5.com/ru/code/24829
I know this, but it's not what I want, I have my own needs and have to write my own