Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 20:01:49 +0000



Post From: Sum Number Bars volume horizontally at price

[2024-08-07 15:28:17]
John - SC Support - Posts: 36238
You need to use the "Spreadsheet Formula" study along with the VAP() function for Alerts. Despite its name, the Spreadsheet Formula uses the Alert syntax. Refer to the following:
Spreadsheet Formula

Study/Chart Alerts And Scanning: Special Functions

Therefore, to sum the last 2 total volumes for the price of -19.50, your formula would be the following:
=VAP(-19.50, 0) + VAP(-19.50, -1)

We'll let you work out the full formula for 5 bars.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing