Support Board
Date/Time: Fri, 07 Feb 2025 14:40:06 +0000
Post From: More or Less Volume Indicator
[2022-06-27 14:07:25] |
John - SC Support - Posts: 37808 |
The only way to get the volume for a previous bar at a certain point in time would be to create a chart that is based on the time-frame you want. For example, you state that you want to compare the current bar's volume against the previous bar both when they were 1 minute into building. You would have to create a 1 minute chart and then determine where the particular bars are located in order to make that comparison. If you are wanting to see the result on a 5 minute chart, then on the 1 minute chart you would need to compare the 6th bar previous to the 2nd bar previous (the current bar would have started the new minute, so it is not of interest). Refer to the information at the following link for how to reference a bar that is not the current bar in an Alert Condition: Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart In terms of coloring the current bar based on the above, you would use the Color Bar Based on Alert Condition study. Refer to the information here: Color Bar Based on Alert Condition And if you do have to do what we suggest above with a separate chart, then you would need to have a way to overlay the results of the test. The easiest way to do this would be to use the Spreadsheet Formula study (which uses the Alert syntax) to create the test and then use the Study/Price Overlay to overlay that on your primary chart and then you can reference the Overlay in your Alert condition in the Color Bar Based on Alert Condition. Refer to the following for the Spreadsheet Formula: Spreadsheet Formula And refer to the following for the Study/Price Overlay: Study/Price Overlay Study For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |