Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 09:01:44 +0000



BVAP almost always returns zero

View Count: 269

[2024-06-13 20:03:54]
User273277 - Posts: 58
I want to alert when the Bid at the High of the current bar is zero (0).

I use Numbers Bars, with the "Chart Data - Volume at Price Multiplier for Intraday Chart" set to 8.

I setup Color Bar Based On Alert Condition.
Alert Condition:
=BVAP(H, 0) = 0

Almost every bar shows the alert.

With the multiplier set to 1, the High Bid does often show 0.

I am guessing the problem is due to BVAP getting its' value with the Multiplier set to 1, and disregards my custom value?

Is there an easy way to get BVAP to obey the Multiplier setting, or calculate the correct value with math in the alert box?
Date Time Of Last Edit: 2024-06-13 20:09:40
imageScreenshot from 2024-06-13 14-55-42.png / V - Attached On 2024-06-13 20:02:32 UTC - Size: 16.83 KB - 47 views
imageScreenshot from 2024-06-13 14-57-41.png / V - Attached On 2024-06-13 20:02:36 UTC - Size: 20.05 KB - 56 views
imageScreenshot from 2024-06-13 16-02-20.png / V - Attached On 2024-06-13 20:02:41 UTC - Size: 24.24 KB - 52 views
[2024-06-13 20:07:24]
User273277 - Posts: 58
Here's what the candles look like with Multiplier set to 8. The volume as price that is hidden often has a 0 on the Bid High, so the alert triggers, but that's not what I'm after. I want to trigger only when my chart actually shows 0.
imageScreenshot from 2024-06-13 16-05-55.png / V - Attached On 2024-06-13 20:06:08 UTC - Size: 9.24 KB - 46 views
[2024-06-13 20:42:36]
John - SC Support - Posts: 36238
The problem you are having is that the Volume at Price Multiplier is creating an issue for you. The issue that you are having is that you are requesting the value of the Bid Volume traded at the High price. But with a Volume at Price Multiplier, there may not be a valid value showing at the high of the bar since the high is between the data points that are displayed.

For instance, say you have the following Price and Bid Volumes with a Volume at Price Multiplier of 1 starting at the High and going down:
5444.25 7
5444.00 5
5443.75 4
5443.50 5
5443.25 4
5443.00 3

If you use a Volume at Price Multiplier of 4, then you will end up with the following:
5444.00 21
5443.00 7

In this latter situation when you ask for the Bid Volume at the High (which is still 5444.25 as far as the alerts know) you will get a value of 0 since there is no data at that price.

In this particular case, if you are wanting to view the Numbers Bars consolidated down such that 8 ticks are collated into 1 price, you would need to set the "Volume at Price Multiplier" to 1 and then change the Tick Size to "2.0".

Then your Alert condition will work for what you are asking it to do.

Note that if you are changing the tick size, then you will need to set the option for "Chart >> Chart Settings >> Symbol >> Auto-Set from Data Feed" to "No". Refer to the following:
Chart Settings: Auto Set from Data Feed (Chart >> Chart Settings >> Symbol >> Symbol Settings menu)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-06-13 20:44:02
[2024-06-13 23:54:12]
User273277 - Posts: 58
Thank you. This fits exactly with what I thought it could be.

However, using tick size to 2.0 makes the chart completely different than using volume at price multiplier 8.

This is a Renko, Numbers Barschart, ticker NQ.

With tick size 2.0 and multiplier 1, the chart is horizontally compressed, having about 6 bars for a full day, and the vertical bars are too tall to be readable on my screen.

Using tick size 0.25 and multiplier 8, I get a couple hundred bars that are vertically compressed and readable.

Is there another way to get BVAP working while still having a vertically compressed set of Numbers Bars using multiplier 8 or similar?
Date Time Of Last Edit: 2024-06-14 00:22:07
imageScreenshot from 2024-06-13 20-02-56.png / V - Attached On 2024-06-14 00:03:03 UTC - Size: 53.57 KB - 45 views
imageScreenshot from 2024-06-13 20-01-48.png / V - Attached On 2024-06-14 00:03:07 UTC - Size: 25.6 KB - 46 views
[2024-06-14 14:00:47]
John - SC Support - Posts: 36238
You would have to adjust your Renko setting in order to account for the change in the Tick Size. So if you had a Renko Bar Period Value of 16, you would need to change this to 2. If it is not an even multiple of 8, then you would have to do the best you can.

Otherwise, you would need to look deeper into what exactly you are wanting to accomplish and see if there is a different way to do it.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-06-14 20:42:15]
User273277 - Posts: 58
Thank you. This worked perfectly.
[2024-06-14 21:15:01]
User273277 - Posts: 58
I spoke too soon. The changes made the chart look exactly correct. No problem there.

But I just noticed the tick size of 2 (of course) changes the DOM tick size to 2, and I need the dom tick size to be 0.25 to trade from it.

I changed the Scale Settings, Scale Increment to 0.25 to make the DOM look correct with all the price levels showing, but I can only click to trade in increments of 2.0.

Is there a way to change the DOM to be tradeable at 0.25 price increment while leaving the bars visually at 2.0 tick size?
Date Time Of Last Edit: 2024-06-15 00:40:43
imageScreenshot from 2024-06-14 17-14-13.png / V - Attached On 2024-06-14 21:14:55 UTC - Size: 54.68 KB - 49 views
[2024-06-16 21:37:39]
User273277 - Posts: 58
As a way to solve this, is it possible to draw the text of this alert on one graph, and sync that text with something like the Study/Price Overlay study onto my trading chart?

I see the help page of Study/Price Overlay specifically says it can not sync text. Is there another similar study which can do this?
[2024-06-16 23:26:30]
User273277 - Posts: 58
Yes, that worked.

I used study/price overlay to pull the text alert into a chart with a regular 0.25 tick size so I get the alert I want, and I'm able to trade on a regular 0.25 tick chart.

It's probably inefficient and fragile, but it works for now.
Date Time Of Last Edit: 2024-06-16 23:28:15

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account