Many NT indicator methods provide for using the IDataSeries interface. As example:
MACD(IDataSeries inputData, int fast, int slow, int smooth).Avg[int barsAgo]
The Verison 6 Help Guide page 'DataSeries Class' states:
"DataSeries objects can be used on supplementary series in a multi-time frame and instrument strategy. Please see our support forum NinjaScript reference samples section for further information."
After reading this comment, I looked at the reference samples here, but found no specific examples using of IDataSeries in indicator methods. I did find code on changing IDataSeries data using BarsInProgress, but this is not relavent.
Are there any examples elsewhere?
Thanks for the support.
Comment