Lovely, lovely. Now we can expect source code level self-modifying EAs :)
By the way, right in the thread (or on the forum) you can hold a micro-contest: "Who has shorter".
;-)
---------
I thought... better on the forum - to attract people from the mql4 forum to the mql5 forum.
Shorter! If anyone dares to repeat the feat and break the record of brevity, please start a thread on the forum (under the name "Shorter!") and post the code there.
Hello,
When I tried to execute that script, I have the following error message : 'SelfGenerator.ex5' is too old, it should b recompiled. My MT5 terminal have been updated today on 19/02/2011 (build 401).
What should I do?
Regards,
Hello,
When I tried to execute that script, I have the following error message : 'SelfGenerator.ex5' is too old, it should b recompiled. My MT5 terminal have been updated today on 19/02/2011 (build 401).
What should I do?
Regards,
Oh my God...is this supposed to be a joke or what?! Only thing this script does is writing the string "S" into a file...Absolutely useless...
It works as expected. The script re-creates it's own source code. What can we use such a code for?
I would create a library that utilized this idea to recreate a program, then integrate it with telegram api functions to allow permitted users to request for the source. This will allow the programmer to catch reported bugs in the product and correct them on the fly, anywhere, anytime.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
SelfGenerator:
Author: Владимир