but I want the SMA to be calculate using new data that I am creating during running,
for that, inside OnBarUpdate Im trying to insert the line:
SeriesA[0] = SMA((SeriesB+ SeriesC) * 3, 6)[0]
with no success, how can I make operations on data series I have created and how can I use it as input for the SMA function ?
Thanks
Comment