Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 07:41:12 +0000



Post From: Number Bars and volume at threshold study

[2022-12-12 17:37:57]
John - SC Support - Posts: 36350
The only way we can think to do this using the built-in functions is to use the Spreadsheet Formula and create a very long set of nested IF statements. Even then, this would not give you a way to create a line from that point, except for the most recent bar, if that is what you wanted.

The best way to do this would be to create a custom study.

But, the following will get you started if you want to see how this can be done:
- Add the Spreadsheet Formula study to the chart.
- Here is the start of the condition you would enter in the Spreadsheet Formula (this covers the first two levels of a bar from the low):
=IF(AND(VAP(L, 0) > .6 * V, VAP(L, 0) < .8 * V), L, IF(AND(VAP(L + TICKSIZE, 0) > .6 * V, VAP(L + TICKSIZE, 0) < .8 * V), L + TICKSIZE, 0))

To see a square at the level to the left side of the candle, set the Draw Style for the Result subgraph to be Square Offset Left. You should also change the size to a value of about 10.

Also, set the Spreadsheet Formula to not display zeros.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing