Support Board
Date/Time: Sat, 30 Nov 2024 16:35:12 +0000
Post From: BVAP inconsistent result
[2022-11-21 18:53:34] |
John - SC Support - Posts: 36350 |
We had to do some tests to figure out what is occurring, but it turns out that the Offset does not work in the way that you are thinking. It does give the volume value at the previous bar, but the price level is the level of the current bar, not the offset bar. For example, if the low of the current bar is 3950.00 and you have a Bid volume of 20, when you put in the offset of -1, it does not return the Bid volume at the low of the previous bar, rather it returns the Bid volume at the price of 3950.00 at the previous bar. In order to do what you are wanting - you need to reference the Low of the previous bar by adding a [-1] to the L. So your formula would look like the following: =BVAP(L[-1] + TICKSIZE * 1, -1) >50 * AVAP(L[-1] + TICKSIZE * 1, -1) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |