I then returned to the original chart and added the built-in HMA and saved this as a template. Once again, when applying the template to another chart, only the EMA and the built-in HMA were displayed, and the template file contained ONLY those two indicators.
So why does my custom indicator work fine when selected from the Indicators list, but does not get included in the template?
EDIT
I see the log says error generating the XML document, so probably serialization problem. Will recheck the code.
Comment