For example, on the opening bar of the day, the indicator would plot the average volume of the previous [x] opening bars. On the next bar, the indicator would plot the average cumulative volume of the first two bars of the day over the lookback period [x].
A reference sample of code, or a link to where I might find information how to code this would be very much appreciated. Thanks in advance.
Comment