Login Page - Create Account

Support Board


Date/Time: Mon, 17 Jun 2024 16:06:02 +0000



re:color bar based on alert condition possibility?

View Count: 3476

[2017-08-05 18:50:50]
User68474 - Posts: 195
I have an alert condition ("Color Bar based upon Alert Condition") that colors bar(I happen to use a star). It works fine. I would like to add a further condition that would limit the alerts to occur only when/if any bar/candle, upon its close, remains "straddling"/"contains" any "horizontal line" or "rectangle" tool which I may have drawn on that chart. Is this possible?
[2017-08-06 19:24:53]
User68474 - Posts: 195
Let me rephrase my question to, perhaps, make my question clearer. I already have a "Color Bar based upon Alert Condition" study which works perfectly. It is not based on any price levels or "crossovers",etc.

Since I posted this query yesterday, I have experimented and found a way to successfully include certain actual price levels by adding the "Horizontal Lines" study and then referring to each "line" subgraph with conditions "H>=ID0.SG#,L<=ID0.SG#". Of course, it is quite tedious because, at least as far as I can interpolate from my reading of SC directions and my inexperience with programming, I have to create a separate alert study for each horizontal line (i.e. "ID0.SG#"). But, at least, it works well and I can make a template for future use. Let's call these predetermined horizontal price levels "static references", as I can change those actual prices anytime, usually at end of day/session when preparing for next day. What I would like to know, however, would it be possible to augment the formula/conditions to include "dynamic" price levels which could be added anytime, especially "on the run" intraday, by simply manually adding a "horizontal line" from "tools", which somehow could have its own "ID"/subgraph to refer to in the formula/conditions. Can manually drawn "Horizontal Lines" from tools ever have an actual "ID"/subgraph to refer to in a formula in the same way that, let's say, a MA or BolBand does. If not, why not??
[2017-08-08 07:05:59]
Sierra Chart Engineering - Posts: 104368
What I would like to know, however, would it be possible to augment the formula/conditions to include "dynamic" price levels which could be added anytime, especially "on the run" intraday, by simply manually adding a "horizontal line" from "tools", which somehow could have its own "ID"/subgraph to refer to in the formula/conditions. Can manually drawn "Horizontal Lines" from tools ever have an actual "ID"/subgraph to refer to in a formula in the same way that, let's say, a MA or BolBand does.
No, this is not supported.

Chart Drawing tools do have their own separate Alerts:
Chart Drawing Tools: Chart Drawing Alerts
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
[2017-08-08 18:09:35]
User68474 - Posts: 195
your reply: "Chart Drawing tools do have their own separate Alerts:"

but there is no way to add further conditions (i.e. customize) to those alerts??
Date Time Of Last Edit: 2017-08-08 18:10:04
[2017-08-08 18:20:23]
Sierra Chart Engineering - Posts: 104368
No. Chart Drawing alerts are completely separate from Study alerts.

To combine them requires a custom study which you would have to program.
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
Date Time Of Last Edit: 2017-08-08 18:20:47
[2017-08-09 04:22:09]
User68474 - Posts: 195
You'd think it should be a common default "tool/study". Click on to activate "Alert Study at Price" after you have added "Alert Study" formula/conditions to any given chart's Study Collection, then draw a horizontal line at the desired price. Oh well.
Date Time Of Last Edit: 2017-08-09 04:28:18
[2017-08-09 04:55:59]
Sierra Chart Engineering - Posts: 104368
In the case of a simple price alert involving a single price, this is already supported because you can set an alert on the Horizontal Line itself.
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
[2017-08-09 05:04:20]
User68474 - Posts: 195
Yes. But you can't have any other kind of Alert other than a Simple Price Alert. Even if I already have obtained, by my own work, or from 3rd party, an Alert with some conditions, there is no way to incorporate it and then expeditiously, quickly (during actual market trading) and facilely change levels "on the fly".
[2017-08-10 19:41:24]
Sierra Chart Engineering - Posts: 104368
A custom study could be written which refers to a particular horizontal line drawing on the chart, and you can change that line interactively.

So it is technically possible to do this and the implementation is not difficult. And one thing we will do is add to the Chart Drawing Properties window, the ID number of each drawing so that it can be referenced.
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
Date Time Of Last Edit: 2017-08-10 19:41:53
[2017-08-10 21:46:23]
User68474 - Posts: 195
Very nice! To be able to "interactively" (love that word ! much better than my relatively feeble, verbose attempt at description) move line(s)that will have associated ID's, that presumably could be referenced in my already functioning "Color Bar based on Alert Conditions" formula(which has "non-price based" conditions like volume analysis-type) would be WONDERFUL! .

Am I correct in assuming that once you ".....add to the Chart Drawing Properties window, the ID number of each drawing so that it can be referenced", it should be very easy for me to add the new "updated" ID's for lines (plural) from the Chart Drawing Properties in a way similar to the way I HAVE been previously successful in adding the line ID's that DO already exist in SC "Studies Available"-"Horizontal Lines" study? (Mentioned in my previous Messages in this current link). That way, ideally, I could use the more "static" Horizontal Lines Study ID's for longer, farther out timeframes and use the new "Interactive" line ID's for more efficiently, conveniently and expeditiously dealing with shorter, more fluid "dynamic" timeframes intraday. In both cases, this would limit, which from the get go has been my desire, the alerts to ONLY bars that satisfy the combination of my non-price based study ID conditions AND now price-based "interactions" ID conditions. Perhaps I'll hold off for now in contacting an outside customizer, because it sounds as though, as you say, it will be " technically possible to do this and the implementation is not difficult". Thank you, thank you.
[2017-08-11 00:21:05]
Sierra Chart Engineering - Posts: 104368
..add to the Chart Drawing Properties window, the ID number of each drawing so that it can be referenced", it should be very easy for me to add the new "updated" ID's for lines (plural) from the Chart Drawing Properties in a way similar to the way I HAVE been previously successful in adding the line ID's that DO already exist in SC "Studies Available"-"Horizontal Lines" study?
Yes this is the case. Please allow about 30 days for this.
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
[2017-08-11 00:35:29]
User68474 - Posts: 195
Much appreciation due to you for your consideration and most reasonable, gracious accommodation. I think surely other subscribers will feel the same.
[2017-09-03 01:43:54]
User68474 - Posts: 195
I've noticed in the most recent "updates to current version", that the "Chart Drawing Properties"/Anchors now has a "Line ID: xxxx' Reference number. Can I assume this is a result of what you stated you would be doing so that a Horizontal Line could be referenced in an alert formula (as per our Support Board Discussion/chain). If this is the case, what would be the proper "syntax" and/or "name" to use in adding to my alert formula? I have tried many ways, but keep getting "Error" messages. Is there an "SG.#"subgraph to be included with the ID ?
[2017-10-07 20:18:09]
User68474 - Posts: 195
Your/SC post #52264[2017-08-11 00:21:05]:
"Yes this is the case. Please allow about 30 days for this."

Your/SC post #52264[2017-09-02 22:08:53]
Post in same thread/support request. We have not started this feature task yet.

This post today [2017-10-07]: Any further progress on this project? I had an idea but don't know if it is technically possible. As I obtusely stated in my initial posts above back in early August, I have been able to partially successfully use the "Horizontal Lines" Study (albeit in a most cumbersome, time consuming and totally INflexible way intraday, spontaneously).

Here's how I have "jerry-rigged"[Merriam-Webster:" jerry-rigged: organized or constructed in a crude or improvised manner"]my "Color Bar based on Alert Conditions" to allow for 20(out of possible, it appears, 59 defaulted in the Study) reference lines: 1.) Added "Horizontal Lines" Study to each chart; 2.)Duplicated my "Color Bar Based on Alert Conditions" study 20 times; 3.) Used "Horizontal Lines" Study ID# with each respective SG.#'s (1-20) in each individual duplicated "Color Bar Based on Alert Conditions" custom study.
Each evening doing research/homework for the next day, I manually enter "static" reference prices in the "Horizontal Study" Input Values. During intraday trade the next day, as new "dynamic" references unfold and some static ones become no longer relevant, I must replace numbers within the Horizontal Lines study as quickly as possible IF there is time, and most importantly, if it is not tediously distracting me from immediate concentration. It sure would be nice if at least the "Input Value" would have the option of entering "Horizontal Line" ID #'s initially, that remain there "permanently", instead of(in addition to, if one so wished, to actual Price Value (as is the case now). Then, old references could be moved/new ones added by simply changing/moving/dragging any given Horizontal Line on the main chart at any time, most efficiently and expeditiously, their I.D
#'s having already initially been entered in the Horizontal Lines Study. Just wondering what you might be considering in light of your previous comments " And one thing we will do is add to the Chart Drawing Properties window, the ID number of each drawing so that it can be referenced." and subsequent, " [2017-09-02 22:08:53]Sierra Chart Engineering - Posts: 52264
Post in same thread/support request. We have not started this feature task yet."
Date Time Of Last Edit: 2017-10-07 20:23:45
[2017-10-07 23:58:03]
Sierra Chart Engineering - Posts: 104368
We realize we did not answer post #13 above. Not sure why. The answer at the time was that the functionality was not yet available.


It is now supported to reference Chart Drawing anchor point values in Study Alerts in the latest version of Sierra Chart. This is going to be documented in the next couple of days. So please just wait until the documentation is ready.
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
Date Time Of Last Edit: 2017-10-07 23:58:30
[2017-10-11 19:33:52]
User68474 - Posts: 195
" So please just wait until the documentation is ready."
Just checking in: Is "documentation ready" ?
[2017-10-11 20:48:50]
Sierra Chart Engineering - Posts: 104368
Here is the documentation for this:
Study/Chart Alerts And Scanning: Referencing Chart Drawings

Let us know if anything is unclear.
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
[2017-10-12 20:21:06]
User68474 - Posts: 195
In your example from the link
Study/Chart Alerts And Scanning: Referencing Chart Drawings ,
the Line ID highlighted in Red rectangle(gray background fill, next to "Swap Anchors") is "-41". Note the "-" sign. However, in the red outlined box(white background) which points back to that box, labeled "Drawing ID= 41", there is no "-" prefix before the "41". In using the "UDID#" identifier in an alert formula, if my Line ID has a "-" prefix, do I use it or not? Do all horizontal lines have a "-" prefix?
Date Time Of Last Edit: 2017-10-12 21:20:08
[2017-10-12 21:23:21]
Sierra Chart Engineering - Posts: 104368
Just use the positive value. This is what the documentation says:
Note that the number should be entered as the positive value, and not as the negative value that is shown.

User drawn drawings will always be negative, but you do not need to use the negative sign.
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
[2017-10-13 01:22:41]
User68474 - Posts: 195
Can't believe I overlooked that sentence in the documentation. Obviously, I am embarrassed. I will now try to actually incorporate this new documentation into my alert formula.
[2017-10-21 18:34:53]
User68474 - Posts: 195
I am having problems incorporating this new documentation into Color Bar Alert Formulae.
Simple test: 1.) I draw a "Horizontal Line" on a 1 minute chart. Line ID is "A1: -4". 2.)I then add "Color Bar Based on Alert" study. Enter simple following formula: "=AND(H>=UDID[4].A1, L<=UDID[4].A1). Subgraph choice to Color Bar a certain color. 3.)Receive this " Alert Formula Error - Chart: CLZ7-NYMEX [CB] 1 Min #4 | Study: Color Bar Based On Alert Condition | Error: #SYNTAX! | Formula: =AND( H>= UDID[4].A1, L< UDID[4].A1) | No alert sound/email.
What is my "Syntax" error?
[2017-10-21 23:53:37]
Sierra Chart Engineering - Posts: 104368
We changed the format of referencing anchor points from Chart Drawings so you need to update to the current version following these instructions here:
Software Download: Fast Update

The documentation documents the current format:

Study/Chart Alerts And Scanning: Referencing Chart Drawings
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