Text Labels transfer with Templates

 
I don't know if this is per design but if it is, it sucks.

I place Text Labels on my charts as notations to myself. If I happen to make changes to the indicator settings or simply add/remove indicators and save my new settings as a new template, the Text Labels get saved too.
As soon as I recall that template on another chart, regardless of time period, all of the text labels come with it as well.
As per the MetaTrader documentation, it's supposed to save all the settings, indicators, scale, colors, etc. Why in the world would it save objects that one adds such as text or trend lines when they won't apply to another chart???

Any way to fix this? Is this a bug?
 
Not a bug. Template saves most everything about a chart.

This code will nuke the labels for you. Put it in a script.

start(){

int i;
for(i = ObjectsTotal()-1; i >= 0; i--){
string name = ObjectName(i);
if(ObjectType(name) == OBJ_LABEL) ObjectDelete(name);
if(ObjectType(name) == OBJ_TEXT) ObjectDelete(name);
}
}


Or, you can edit the template directly in a text editor.
 
-----
 
-----
Reason: