Saves current chart settings in a template with a specified name.
[in] Chart ID. 0 means the current chart.
[in] The filename to save the template. The ".tpl" extension will be added to the filename automatically; there is no need to specify it. The template is saved in data_folder\Profiles\Templates\ and can be used for manual application in the terminal. If a template with the same filename already exists, the contents of this file will be overwritten.
Using templates, you can save chart settings with all applied indicators and graphical objects, to then apply it to another chart.