If you set the name property on the OnStateChanged() to "" , 2 bad things happen, firstly in the Ninja Available indicators dialog, the entry is blank, and second, the ninjatrader will crash when you select the blank item.
I like to make the name = "" because I dont want the indicator settings cluttering up the chart. I figured I could code the "" in my ninjascript, but again, errors occur.
Comment