Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 19:04:56 +0000



[Programming Help] - Apply study when another study is triggered

View Count: 763

[2019-07-21 02:48:04]
User161560 - Posts: 17
Hi - I want to plot the VPOC of a single bar and color that bar orange when the volume on that bar exceeds a specified threshold.

I used the formula =V>=3000 on the Color Bar Based On Alert Condition Study which colors the bar orange when volume for that bar is >= 3000, which works great. And I have the Volume By Price Study set to highlight only the VPOC of every bar, which works great highlighting the VPOC of every bar. I added the formula =V>=3000 to the Volume By Price Alert Condition box but it doesn't do anything. I'm pretty sure I'm missing something basic but got stuck. Any ideas how I might make this work to highlight the VPOC and color the bar orange on every bar with volume >= 3000?

Thanks!

Simon
[2019-07-21 04:27:06]
mpro - Posts: 44
You can get the VPOC Value and Volume with Numbers Bars Calculated Values. The Color Bar Based On Alert Condition should be based on the value.
Date Time Of Last Edit: 2019-07-21 04:28:12
[2019-07-21 07:50:06]
mpro - Posts: 44
See attached files.
imageHighlight_VPOC_and_Candle_3000.png / V - Attached On 2019-07-21 07:49:08 UTC - Size: 9.39 KB - 307 views
attachmentHighlight_VPOC_and_Candle_3000+.StdyCollct - Attached On 2019-07-21 07:49:26 UTC - Size: 28.03 KB - 409 views
[2019-07-30 05:17:24]
Sierra Chart Engineering - Posts: 104368
To access the volume point of control value in a Subgraph from the Volume by Price study refer to:
Volume By Price Study: Programmatically Accessing Volume at Price Data

Also, using ACSIL you can access the point of control of a chart bar with this function:
sc.GetPointOfControlPriceVolumeForBar()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account