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)
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue