Support Board
Date/Time: Fri, 07 Feb 2025 17:53:40 +0000
Crossover alert for TPO or VbP study
View Count: 2090
[2015-08-24 19:25:34] |
User94740 - Posts: 333 |
Hi SC, I have tried to use the information contained in the documentation to create an alert for a TPO study as well as a VbP study, but it fails. My alert configuration: =crossover(ID1.SG1[-1],ID1.SG1[0]) I have even tried to see if it is case-sensitive, but also to no avail. Would appreciate your help. thx PS maybe it is possible to just create identifiers for TPOC and VPOC as well as the value areas? Date Time Of Last Edit: 2015-08-24 19:28:08
|
[2015-08-24 19:39:32] |
Sierra Chart Engineering - Posts: 104368 |
Go to Analysis >> Studies. What is the ID number of the TPO Profile Chart study? What is the ID number of the Volume by Price study? You can see the ID numbers in the Studies to Graph list. 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 |
[2015-08-24 20:57:36] |
User94740 - Posts: 333 |
SC, I am trying to create an alert to notify me when the last price crosses over the prior Volume POC and the same for the TPO POC. I have edited the VbP alert so: =CROSSOVER(SG2[-1], C) , but it still fails to work. For the TPO POC, I am wondering if it is even possible to create an alert. |
[2015-08-25 23:18:13] |
User94740 - Posts: 333 |
ok, I have discovered the alerts fail to work on the TPO or VbP study charts themselves, but do on candlestick charts with the POC and value area levels studies. Should this be happening? I would think it should work just as well on the study chart as on a candlestick chart.
|
[2015-08-25 23:55:36] |
Sawtooth - Posts: 4173 |
Your formula is comparing the previous bar's POC with the current bar's Close, so it will work on a VbP study that uses a Time Period Type and Length that matches the chart's bar period. As a test, use a 1 min chart and set the Time Period Type... to Mintues, and the Time Period Length... to 1. A way to test your formula you is to use the Color Bar Based On Alert Condition study to see a visual of when your alert formula will go TRUE. Now put your formula in the color bar study, referencing the ID# of the VbP study, like this: =CROSSOVER(ID1.SG2[-1],C) where the VbP study is ID1. |
[2015-08-26 10:58:22] |
User94740 - Posts: 333 |
thx SC. The alert is working properly for the VbP POC, but the TPO POC alert still fails, because the study, TPO Value Area Lines, produces values inconsistent with the actual TPO study chart. I have tried various settings in the TPO Value Area Lines study as well as ensuring the weekly chart and TPO study chart are synchronized in their settings, but to no avail. This inconsistency is a different issue. Should I create a new thread for this issue?
|
[2015-08-29 11:27:00] |
Sierra Chart Engineering - Posts: 104368 |
I have edited the VbP alert so: =CROSSOVER(SG2[-1], C) , but it still fails to work.
This formula looks correct. Still having trouble with this?The TPO Value Area Lines study cannot be used on a TPO Profile Chart. It must be used on a normal chart. We are not sure of the details of your chart and study configuration. 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 |
[2015-08-29 21:38:04] |
User94740 - Posts: 333 |
the formula worked on a weekly bar chart to a certain degree. Once in a while the VbP POC gave an inconsistent value in comparison to the actual VbP study chart, so I decided to scrap it as well and resort to either a horizontal line or a line study. It would be great if it were easier. Yes, I can certainly confirm the alert fails to work on a TPO profile chart, but even on the bar chart, the TPO value area lines study regarding TPO POC was inconsistent with the TPO profile chart all the time. I have yet to check the value area lines for consistency |
[2015-09-02 01:00:30] |
Sierra Chart Engineering - Posts: 104368 |
For help with the inconsistency, refer to the documentation about this here: https://www.sierrachart.com/index.php?page=doc/doc_TPOVolProfileCharts.html#IncorrectValues Specifically what you are doing is not completely clear, so it is hard for us to explain how to make it easier. But it should be 100% reliable to define an Alert Condition Formula on the Volume by Price study that work with the Value Area and Point of Control Subgraphs as long as it is not on a TPO Profile Chart. 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: 2015-09-02 19:03:12
|
[2015-09-02 11:48:24] |
User94740 - Posts: 333 |
I think what is most important now is the fact of inconsistent values. The value area line studies for TPO and Volume fail to match the TPO and VbP study chart values.
|
[2015-09-02 18:55:35] |
Sierra Chart Engineering - Posts: 104368 |
Refer to the documentation here for help with this: https://www.sierrachart.com/index.php?page=doc/doc_TPOVolProfileCharts.html#IncorrectValues Previously we gave you the link to the wrong section. And this documentation: https://www.sierrachart.com/index.php?page=doc/doc_VolumeByPrice.php#VolumeProfileDifferences 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: 2015-09-02 18:58:04
|
[2021-01-18 14:25:23] |
timdug1 - Posts: 14 |
Wondering how I would create an alert for price at or crossing the VAH or VAL on the TPO value area study on a candlestick 30 min chart? Many thanks |
[2021-01-18 16:11:40] |
John - SC Support - Posts: 37827 |
You will find an example of how to write an alert for this at #20 at the following link: Study/Chart Alerts And Scanning: Alert Formula Examples For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-01-18 17:35:41] |
timdug1 - Posts: 14 |
In the TPO value study VAH is SG2 and VAL is SG3. From #20 in the example, the condition is =CROSSOVER(SG1, C) how would I write it that I triggger sound alert 1 for price AT OR crossing SG2 and a different alert for price crossing AT OR SG3? Thanks. |
[2021-01-18 18:13:36] |
John - SC Support - Posts: 37827 |
You would just change the Subgraph reference. For instance, if you want to check the Crossover for Value Area High (SG2) you would change the formula to be =CROSSOVER(SG2, C). One item of note, the CROSSOVER function checks that the current value has actually crossed the item it is checking against, so it does not check if it is at the value. So to check both you would need the following: =OR(CROSSOVER(SG2, C), C = SG2) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-01-19 08:37:56] |
timdug1 - Posts: 14 |
Thats great. Really helpful. Is it possible to write the expression in one alert for a crossover or at either SG2 or SG3 in one line?
|
[2021-01-19 14:50:33] |
John - SC Support - Posts: 37827 |
Yes, you just have to continue the process for the OR function. You can have more than 2 items specified in the OR (or AND) function. That is, you can have something like the following =OR(Comparison1, Comparison2, Comparison3, Comparison4, ..., ...)
For the most reliable, advanced, and zero cost futures order routing, use 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: