Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 09:40:25 +0000



[Programming Help] - High volume alert

View Count: 2287

[2018-03-22 17:01:10]
User459066 - Posts: 8
Hi,

Can someone please tell me how to set in Sierra Charts alert to tell me if the volume spikes on a chart to say double or 3/4 of average volume?
It would be an added bonus if I could get an email alert.

Thanks in advance
Stephen
[2018-03-22 22:01:32]
JoseyWales - Posts: 67
I made a Study Collection that you can play around with. Download the attachment and put it in your Sierra Chart Data folder. Then in Sierra Chart go the Menubar->Analysis->and select Color Bar Based On Volume Spikes.

Steps I used to create it:

1. Add the Volume Study
2. Create an Average of Volume by adding a moving average that's input is based on Volume.
3. Create a "Volume Spike Threshold" by using the study "Study Subgraph Multiply". Multiplying the Average of Volume by 1.75.
4 Then I used the "Color Bar Based On Alert Condition" with the alert set to ID1.SG1 > ID3.SG1. Where ID1 is Volume and ID3 is the "Volume Spike Threshold".

You don't have to put the Color Bar Based On Alert Condition study on the chart if you dont want to. As long as the alert formula exists in one of the other studies.

Then go to the Menubar->Global Settings->General Settings->Alerts / General 3 tab and choose an alert number to create a custom alert settings that will send an email alert to you. And lastly go to the study that has the alert formula, on the studys settings page->Alerts tab and link the Alert Sound combobox to which ever alert number you chose before that sends an email.
https://www.sierrachart.com/index.php?page=doc/GeneralSettings.html#AlertSoundSettings

Both the Avg of Volume moving average length and the Volume Spike Threshold values can be changed to tailor it to your liking.
Date Time Of Last Edit: 2018-03-22 22:05:00
attachmentColor Bar Based On Volume Spikes+.StdyCollct - Attached On 2018-03-22 21:55:31 UTC - Size: 37.3 KB - 431 views

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

Login

Login Page - Create Account