Support Board
Date/Time: Wed, 27 Nov 2024 18:52:53 +0000
Post From: Relative Volume Based on recent bars and not days
[2021-12-31 19:34:07] |
John - SC Support - Posts: 36335 |
You would want to use the Color Bar Based on Alert condition and given the relatively simple calculation, you can just do everything in the alert condition. So you would have an alert condition that would be the following: = (V[0] + V[-1]) / (V[0] + V[-1] + V[-2] + V[-3] + V[-4]) >= 0.5 Although we are not sure which way you want to do the calculation, so you may need to flip the order of the two sums. And we are also not sure if the ratio of the two being .5 is exactly what you want, but you can adjust as necessary. If this were more complicated, then you might want to use the Spreadsheet Study to be able to sum the volumes you want. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |