SMA(int period).
I am trying to learn to code ninja script and started with just an SMA using the wizard I added 1 line, then entered the following custom logic
double GregSMALine = SMA(Close, 14)[0];
This compiles okay, but nothing shows on the chart. Can someone please tell me what else needs to be done to get this to plot. I have attached an exported indicator file for anyone that can help . I appreciate all the help I can get. Thanks.
Comment