Support Board
Date/Time: Wed, 29 Jan 2025 17:54:30 +0000
Color Bar Based on Alert Condition - Slope Question
View Count: 2593
[2017-10-31 11:40:18] |
infpz - Posts: 826 |
I am using this formula: =OR(AND(ID1.SG1[0] > ID1.SG1[-1],ID1.SG1[-1] < ID1.SG1[-2]),AND(ID1.SG1[0] < ID1.SG1[-1],ID1.SG1[-1] > ID1.SG1[-2])) Which is derived from this page (I added ID1. in front of all instances of SG1, that was the only change): Study/Chart Alerts And Scanning: Alert Formula Examples I also added the Auto-Coloring Based on Slope. In the image linked, you can see places where the slope changes and therefore the line changes color, but I don't get the blue point which is my output for the Color Bar Based On Alert Condition Study: http://www.sierrachart.com/image.php?Image=1509449840181.png I am looking for a way to get a visual notification in the form of an arrow or point whenever the slope changes (not just the line coloring). Any ideas? |
[2017-10-31 17:56:23] |
Sierra Chart Engineering - Posts: 104368 |
One thing to check is the Value Format setting for the study with ID1. Refer to: Study/Chart Alerts And Scanning: The Effect of the Value Format on Identifier Values 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-31 17:56:42
|
[2017-10-31 18:24:10] |
infpz - Posts: 826 |
OK I changed the value format to .00000001 and still there are obvious changes in slope that are not being marked. Attached is an example with a black arrow.
|
Image 45.png / V - Attached On 2017-10-31 18:23:48 UTC - Size: 157.36 KB - 438 views |
[2017-10-31 19:24:03] |
mkata - Posts: 103 |
infpz, On your alerts tab click on the check box named: Use Full Precision When Evaluating Alert Formula |
[2017-10-31 19:34:53] |
infpz - Posts: 826 |
This looks like it is working - thank you!
|
[2017-11-01 02:38:23] |
Sierra Chart Engineering - Posts: 104368 |
OK, but on what study did you change this: OK I changed the value format to .00000001
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-11-01 02:38:35
|
[2017-11-01 10:53:53] |
infpz - Posts: 826 |
I did this on the color bar studies - I see by removing that, and doing it on the moving average - it seems to be working without the precision option selected. Thanks all. PZ
|
[2017-11-01 17:50:17] |
Sierra Chart Engineering - Posts: 104368 |
Yes. That is what you need to do.
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: