Hi guys, i wonder if anyone can help. I’m looking to create a ratio of total volume on up days (close>close [1]) of the last 10 trading days to the volume on the down days in the last 10 trading days. Can anyone help please?
If you import the attached ITF file the variable N is already declared. If you prefer copying & pasting the above code, then uncomment line 1.
You can change the type of ratio simply swapping comments between lines 4 and 5.
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