Support Board
Date/Time: Sat, 11 Jan 2025 14:53:19 +0000
Custom study needed for this alert function?
View Count: 1311
[2016-12-12 16:40:05] |
Maurice - Posts: 7 |
Hello, What I am looking for is a way to have a text field on the chart (in a separate region, below the price action region) where I can fill in a certain price. Then a couple of things must happen automatically: - a horizontal line must be drawn on the chart (region 1) at the price level I put in the field. - when a certain Moving Average (also drawn on the chart, region 1) crossed that price level at the close of a bar, I want to get an alert (visual and audible). - When the next bar closes above/below this price level (depends on the direction of the crossing), I want to get a second alert. Can this be done? If yes, do I need to create a custom study or what? I hope someone can help me point me into the right direction to get this done. Thanks, Maurice |
[2016-12-12 19:54:27] |
Neo - Posts: 198 |
The text field requirement is not clear. If you just want to just edit text in chart region 2 then you could just add a study to that region( set to ignore), and then select the text tool in that region. Your general requirements seem basic to setup and could be created using simple alerts- http://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php - the "Horizontal lines study" would control the price level, which you would manually input using "Line1 Value" - The moving average crossing the price level/ and the next bar closing above/below a price level would be set up using "ColorBarBasedOnAlaertConidtion" Please find example chart book attached> Add this to your SC data folder, then apply to a chart- http://www.sierrachart.com/index.php?page=doc/StudyCollections.html#Applying (updated link for accuracy) -When your moving average crosses and closes above price level a pink dot will paint below the bar(ID4), and an alert will sound. -If the next bar closes above (ID4) a blue bar will paint -If the next bar closes below (ID4) a red bar will paint *You can customize the moving average and price level to anything you want. *Visual/ audible alerts can be configured in the setting for each "ColorBarBasedOnAlaertConidtion" study. Date Time Of Last Edit: 2016-12-12 21:45:49
|
MA level alert cross.png / V - Attached On 2016-12-12 19:48:46 UTC - Size: 103.76 KB - 295 views MA LEVEL CROSS.StdyCollct - Attached On 2016-12-12 19:49:37 UTC - Size: 55.91 KB - 379 views |
[2016-12-12 21:47:48] |
Sierra Chart Engineering - Posts: 104368 |
In response to post #1, you will want to use the Spreadsheet System/Alert study for this: https://www.sierrachart.com/index.php?page=doc/SystemsAlerts.php 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: