![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
The script is ready and included into ATcl library.
In the library is located at path Libraries/ATcl/app/mq45dist.tcl
It needs (suddenly) tcl, and zip to work :-)
If you run it without parameters, it will ask to select any project file and open a console to display the log.
If you pass the file name as a parameter, it will not open any windows, it will work as a console application.
I am attaching the tcl script.
In addition to adding the script, some bugs were fixed,
and relaunched the library archives at http://nektomk.ru/ru:atcl:install and SourceForge https://sourceforge.net/projects/mt-atcl/
Another, and easiest (and most pressing) use : configurations of software/experts/panels and stuff. That is, all sorts of configuration files :-)
With ATcl it's very easy to keep it all in simple text files.
# именованное значение "use_gui"
set use_gui true
# список (вектор) значений
# список из список (матрица)set vector { 1.0 2.0 0.12 }
set matrix {
{ 1 2 3 }
{ 4 5 6 }
{ 7 8 9 }
}
# хеш ( ключ->значение)
# можно сразуset option(key1) "например строка"
set option(key2) "другая строка"
array set option {
}key3 0.21
another_key { можно задавать произвольные значения }
and it is very easy to read it all in MT4:
By the way, as a bonus, you can also read the built-in/system environment variables :-)
string APPDATA=tcl.String("env","APPDATA",""); // окружение Windows - %APPDATA%
string TEMP=tcl.String("env","TEMP",""); // рекомендованный каталог для временных файлов %TEMP%
Based on a post in the English part of the forum and to explain
"Why all this is needed and why it's the way it is".
Sketched out an article, in my opinion it turns out quite good and useful. Dedicated to the question of why another language might be useful and how it's selected.
First draft of part one - http://nektomk.ru/atcl:why this one goes into the question setting and requirements identification.
If there are any questions, comments, suggestions, I'll answer and add to it :-)
The second part is a discussion of all the languages and systems mentioned. Obviously, it is highly specialised and requires a background
I haven't written so many texts in a long time :-) but since I promised and started, I have to do it...
as a continuation of the first part about language selection,
I sketched out the second part of http://nektomk.ru/atcl:whynot where I looked at quite a few systems.
Even people far from ATcl and ideas of extending MQL capabilities may find it useful and not without interest.
It will be published together with the first part in local blogs. Just have a "pause" and reread + correct grammar and turns of speech :-)
update: the first part is also published on local blogs https://www.mql5.com/ru/blogs/post/718610 so you can read it without leaving the site
1. You need to install Tcl 32 bit for Windows
Unfortunately ActiveState recently (a month or two ago) stopped supporting 32 bit and
removed the installer from the available downloads. It had been the most convenient distribution for Windows
and ATcl was developed on it. I haven't tested other distributions yet, I will check it this weekend.
------------------------------
Installing Tcl 32bit on Windows
------------------------------
1.1 BAWT distribution
1.1.1 Download the distribution from import of functions from DLL".
Good afternoon interested in your project, but there is a problem with MT4 deleting both EAs and indicators, could you please advise what the possible reason is.
Good afternoon interested in your project, but there is a problem with MT4 deleting both EAs and indicators, could you please advise what the possible reason is.
I do not understand the problem ;-)
what do you mean "it removes both EAs and indicators" ?
I don't understand the problem ;-)
what does it mean "delete both EAs and indicators" ? explain the point, if you can with screenshots
Yeah sure, here are the log screenshots
Yes of course, here are the log screenshots
1. when you run the Expert Advisor/indicator, make sure you enabled import from DLL
2. In the previous instruction it is highlighted - if you have installed the BAWT distribution, you need to copy tcl86.dll to tcl86t.dll in the c:/tcl/bin directory, i.e. add the letter t to the dll name
there should be no other problems, except for allowing to use DLL in terminal and distributor DLL name - just on clean VDS, put MT4, put BAWT and ATcl library from sourceforge (not "variant-in-development", but publicly available). Flight is normal
1. when you run EA/indicator make sure that import from DLL is enabled
2. In the previous instruction it is highlighted - if you have the BAWT distribution, you need to copy tcl86.dll to tcl86t.dll in the c:/tcl/bin directory, i.e. add the letter t to the dll name
there should be no other problems, except for allowing to use DLL in terminal and distributor DLL name - just on clean VDS, put MT4, put BAWT and ATcl library from sourceforge (not "variant-in-development", but publicly available). Flight is ok