![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Unicornis:.
...
Window of 10 checkboxes and a table of 12 rows|5 columns, first column and first row text value cells, other cells double(e.g. filling OHLC last 10 formed bars line by line).
Control code in the EA:
Code of the window in the markup language:
First file - Expert Advisor.
The second file - install to the folder Incloud (do not change or open it).
The third file - install in the inlude folder and fill.
The fourth file - the engine. Upload it to the chart together with the Expert Advisor.
The table works. It can already be used now.
InExternal Connection.mqh file you need to prescribe what to do on events of pressing/rejecting checkboxes.
That's all.
The control code in the EA:
Window code in the markup language:
First file - EA.
Second file - install in the inlude folder (no need to change or open it).
The third file - install in the inlude folder and fill.
The fourth file - the engine. Attach it to the chart along with the Expert Advisor.
Thank you! I will try to add it.
Thank you! I'll try and get it to work.
Ok. If you need to rename the checkboxes, write their names. Should be done in 5 minutes.
The control code in the EA:
Window code in the markup language:
First file - EA.
Second file - install in the inlude folder (no need to change or open it).
The third file - install to the inlude folder and fill.
The fourth file - the engine. Attach it to the chart together with the Expert Advisors.
First, do not put them into the folder "Include", but into the folder Include\DRIVE\.
Secondly, the files must be renamed from 'Connection_Properties.mqh' and 'External_Connection.mqh' to 'External Connection.mqh' and 'Connection Properties.mqh' (instead of the underscore put a space)
Third:
The third file is to install it in the inlude folder and fill it in.
What to fill in? Where to fill? Fill it with what?
Fourth, the panel doesn't appear after compiling and launching the Expert Advisor:
Fifth. If you guess to put this piece of code at the end of Extrenal Connection.mqh:
There will be an error
i.e. this macro is not defined.
Peter, spare the time and feelings of your future users. You are posting code that doesn't work without additional manipulation. If you have no respect for your code, at least respect the time of other participants!
Firstly, not in the 'inclusion folder' but in the Include\DRIVE\ folder.
Secondly, the files must be renamed from 'Connection_Properties.mqh' and 'External_Connection.mqh' to 'External Connection.mqh' and 'Connection Properties.mqh' (replace the underscore with a space)
Third:
What to fill in? Where to fill? Fill it with what?
Fourth, the panel doesn't appear after compiling and launching the Expert Advisor:
Fifth. If you guess to put this piece of code at the end of Extrenal Connection.mqh:
There will be an error
I.e. this macro is not defined.
Peter, spare the time and feelings of your future users. You are posting code that doesn't work without additional manipulation. If you disrespect your code, at least respect the time of other participants!
Vasily, why write nonsense?
Is it just trolling?
There's already a space in the file name.
Fill - means to prescribe calls of your functions on checkboxes event.
You need to put the EA on the chart, and then the engine.
The files must be saved exactly in the folder inluded.
You do not have to put anything anywhere. This is a selftest.
The given markup language window code is just an example of its composition. It does not need to be placed anywhere. It is already in the engine.
Filling:
OpenExtrenal Connection.mqhfileand set your function calls on control events.
Save the files exactly in the inclusion folder.
Peter, I'm about to start swearing at you in a bad way. Here's the code you posted:
Look what's highlighted in yellow. Okay?
There's already a space in the file names.
Peter, download the files you posted and see what they're called. Just for the sake of interest.
Anyway, after compiling the panel I don't see it. Not at all. That's how the window looks like:
p.s. This is not trolling.
Peter, I'm about to start cursing at you in a bad way. Here's the code you posted:
Look what's highlighted in yellow. Okay?
Peter, download the files you posted and see what they're called. Just for the sake of interest.
In any case, after compilation the panel doesn't show up for me. Not at all. That's how the window looks like:
p.s. This is not trolling.
I have a space in the name of the files. Why they are downloaded with a "_" I don't know.
1. The files'External Connection.mqh' and 'Connection Properties.mqh' should be in the inclusion folder.
2. The EA file is in the Expert folder. It should be opened, compiled, and saved.
3. The engine should be saved in the indicators folder.
4. Run the engine and the Expert Advisor on the chart. That is all.
I apologize:
#include<DRIVE\Connection Properties.mqh> #include<DRIVE\External Connection.mqh>
Indeed. I forgot to remove the connection through theDRIVE folder in the EA
This needs to be fixed.