Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 11:56:44 +0000



Post From: average AVAP/BVAP

[2024-06-05 14:34:12]
John - SC Support - Posts: 36238
The VAP() functions do not support ranges. Therefore the only way to do what you are wanting would be to call out each individual bar that you want to include in the calculation. For instance, to get the AVERAGE of the last 3 bars you would use the following formula in a Spreadsheet Formula:
=AVERAGE(BVAP(C, 0), BVAP(C, -1), BVAP(C, -2))

The better option would be to create a custom study. Refer to the following:
ACSIL Programming Concepts: Accessing Volume at Price Data Per Bar

List of Third Party Sierra Chart Study and System Programmers
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing