Hello my question is simple, Is it possible to delete a template from code?
FileDelete("path\\to\\template.tpl");
aslkdjf:
FileDelete("path\\to\\template.tpl");
No, this will not work. The documentation is very specific on this point.
Note
For security reasons, work with files is strictly controlled in the MQL5 language. Files with which file operations are conducted using MQL5 means, cannot be outside the file sandbox.
Anthony Garot:
No, this will not work. The documentation is very specific on this point.
Note
For security reasons, work with files is strictly controlled in the MQL5 language. Files with which file operations are conducted using MQL5 means, cannot be outside the file sandbox.
Yeah no native function.. just what I thought, thank you for your time :)

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