I'm trying to create a custom indicator which is a moving average of a moving average. I've developed this is TD Ameritrade but cannot figure how to do it in NT. I would like to be able to change the values of both EMA's and will eventually use it in a strategy as entry and exit points. Would also like it to plot on the charts as well. I've played with the custom indicator builder but not sure how to actually code the OnBarChange event.
How do I code this? My preference is a EMA(4,3) which is a 3 day EMA on the 4 day EMA. Hope this makes sense.
Any help is greatly appreciated.

Comment