Any beautifier for Java or C++ would work. Jedit for example has the AStylePlugin but there are many more and for other editors also and also plenty of command line tools.
Set it to use 3 spaces as indentation and use no tabs and your preferred bracing style (or use the one and only true style). And then when using and editing the beautified result in MetaEditor simply don't mess up the formatting anymore and keep using the same style when adding new code.
save it to file as a .cpp file name.
then open it in some C++ language editor like Visual stdio,
then format it in there.
and save again.
oK
There is now a styler built in, ctrl+,
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
Hi,
does anybody knows a code formatter/beautifier for MQ4 or MQL5?
It would be quite helpful to format the code as in any better development editor automatically...