Support Board
Date/Time: Wed, 02 Jul 2025 06:20:26 +0000
Post From: Displaying output from indicator utilising sc.VolumeAtPriceForBars
[2016-02-09 23:24:47] |
binaryduke - Posts: 378 |
Hi SierraChart I am working on developing an indicator using values contained within the sc.VolumeAtPriceForBars array. Basically for a bar where the close is lower than the previous bar's, I calculate the ratio of the ask volumes between the highest price and the 2nd highest price in the bar, and for a bar where the close is higher than the previous bar's, I calculate the ratio of the bid volumes between the lowest price and the 2nd lowest price in the bar. This is quite straightforward from the sc.VolumeAtPriceForBars Where I would appreciate some guidance is on display of this information. Ideally, I would like to display these values above and below (respectively) the relevant bars, ideally with some formatting. Possibly more straightforward is somehow using the Numbers Bars Calculated Values panel. Can you give me some pointers please for display? I can see how adding a new (user defined) Numbers Bars Calculated Value could be a relatively quick way to accomplish my goal. Many thanks in anticipation. Regards Lee. |