The problem arises because, I need the “Median” value of the SMA (not the Close).
The following “Description” command line works well for using the “Close” value of the SMA.
Description = NinjaTrader.Custom.Resource.NinjaScriptIndicatorDe scriptionSMA;
I tried the following “Description” command line and it will not compile.
Description = NinjaTrader.Custom.Resource.NinjaScriptIndicatorDe scriptionSMA(Median, 4);
Can someone tell me how I can modify the line so I can get the “Median” values of the SMA?
Thanks in advance. I appreciate your help, and your expertise.

Comment