I am looking for a code that calculates a moving average over volume bars. I need it in code so that I can use it in an indicator. If I plot over the volume bars a normal moving average from the library, I am unable to work it into a trading set up. For example I would like to build an indicator that says: green bar with volume above the 10 period moving average. (average over volume bars)
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.