Login Page - Create Account

Support Board


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



[Programming Help] - Study Alerts

View Count: 246

[2024-07-30 16:33:55]
User181 - Posts: 7
How to set an alert when the trading volume exceeds a certain value.

I want to set an alert when POINT OF CONTROL VOLUME > 300
Attachment Deleted.
image3.png / V - Attached On 2024-07-30 16:33:39 UTC - Size: 99.35 KB - 43 views
image2.png / V - Attached On 2024-07-30 16:33:43 UTC - Size: 267.13 KB - 43 views
image1.png / V - Attached On 2024-07-30 16:33:46 UTC - Size: 92.16 KB - 41 views
[2024-07-30 16:46:27]
John - SC Support - Posts: 36238
You can not get the value you want in the way you are doing it. But since you are wanting this on a "Per Bar" basis, it is not too hard to do. Do the following:
- Add the "Volume Point of Control for Bars" study. This will give you the actual price of the Point of Control for each bar. You can remove the Volume by Price study, unless you want this for something else.
- Add the "Spreadsheet Formula" study to the chart and enter the following formula for this study:
=VAP(ID1.SG1)

Where ID1 is the ID of the "Volume Point of Control for Bars" study. This study now gives you the Volume at that Point of Control for each bar.

- Enter the following formula on the Alerts tab for the "Spreadsheet Formula":
=SG1 > 300

If you enter the alert on a different study, or on the Chart Settings, then you would need to also reference the ID for the Spreadsheet Formula in the Alert formula.

Refer to the following:
Volume Point of Control for Bars

Spreadsheet Formula

Study/Chart Alerts And Scanning: VAP

Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-07-31 02:21:53]
User181 - Posts: 7
After setting it up this way, there are no alarm notifications. Did I set it up incorrectly?"
image1.png / V - Attached On 2024-07-31 02:19:05 UTC - Size: 141.54 KB - 39 views
image2.png / V - Attached On 2024-07-31 02:19:10 UTC - Size: 102.04 KB - 42 views
image3.png / V - Attached On 2024-07-31 02:19:16 UTC - Size: 75.38 KB - 39 views
[2024-07-31 08:47:38]
User181 - Posts: 7
File attached
image1.png / V - Attached On 2024-07-31 08:46:40 UTC - Size: 172.99 KB - 39 views
image2.png / V - Attached On 2024-07-31 08:46:45 UTC - Size: 95.34 KB - 37 views
[2024-07-31 21:01:43]
Sawtooth - Posts: 4118
Use this formula in the Formula field of the Spreadsheet Formula study:
=VAP(ID1.SG1,0)
Study/Chart Alerts And Scanning: VAP

Suggestion:
To see a visual where the alert is TRUE, add the Color Bar Based On Alert Condition study, with a formula like this on its Alerts tab:
=ID2.SG1 > 300
where ID2 is the Spreadsheet Formula study.
Date Time Of Last Edit: 2024-07-31 23:47:09
[2024-08-01 09:09:48]
User181 - Posts: 7
Thank you very much

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

Login

Login Page - Create Account