I am attempting to make a copy of MACD indicator to edit and make changes in NinjaScript, but I am having some issues. I use the Save As feature to save and copy the original MACD under a new name, "MACD2", but the name is still seeing "MACD" in the list of indicators to add. The name of the second version doesn't update.
If I change the name to "MACD2" in the (State == State.SetDefaults), I get the error code CS0117.
What am I doing wrong? Thank you in advance for your help.


Comment