Not "how do I create a function" , but how do I create one that I can install into ninjatrader and make accessible to indicators?
I see that SMA is being called as an indicator and a function...
Do I need to add a plot for this in the "function" so that it returns a double?
Is there a "best approach" here, or something in the docs that I missed?
Thanks
Comment