Is there a way to calculate the rolling average of a certain number of items stored in a custom series?
For example, let's say I want to store 'High[0] - Low[0]' each OnBarUpdate and maintain the previous 20 values in custom series. How can I do that and then have a variable that calculates the average of the those 20 values stored in the series?
Thanks in advance for anyone's help.
Fiddich
Comment