Support Board
Date/Time: Thu, 13 Nov 2025 07:54:34 +0000
Post From: alert condition help
| [2025-09-30 15:08:00] |
| John - SC Support - Posts: 42965 |
|
There is not really a good way to do this. The following will work, but it only adds up a limited number of price levels, so you need to make sure that you have enough levels taken into account for the typical size of your bars. To start with, you need to get the volume at each price level, which is done using the functions defined at the following link: Study/Chart Alerts And Scanning: Special Functions So to sum up the volumes at each price level from the Open to the Low, your formula would look like the following (the following is just 3 levels, you would need to expand for however many levels you need): =VAP(O, 0) + VAP(O-TICKSIZE, 0) + VAP(O-TICKSIZE*2, 0) Note that the VAP is testing from the Open and going down, this is important, as any price level below the Low will return a value of 0, so you can have those additional items in your condition. And to check if it is an UP bar, you need to test the open versus the close: =C > O Putting these together along with a test for the volumes in the wicks, gives you the following: =AND(C > O, VAP(O, 0) + VAP(O-TICKSIZE, 0) + VAP(O-TICKSIZE*2, 0) > VAP(C, 0) + VAP(C+TICKSIZE, 0) + VAP(C+TICKSIZE*2)) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
