Support Board
Date/Time: Tue, 12 Nov 2024 21:37:56 +0000
Color background based on alert condition study shows incorrect data (colors)
View Count: 2322
[2014-11-26 06:33:22] |
avifutures - Posts: 59 |
Hi, Attached chart with ALF (Laguerre) custom study indicator from User Contributed Studies. http://www.sierrachart.com/image.php?l=1416982208891.png The chart has three indicators: 1. Color based on slope which is based on the ALF indicator 2. Color background based on Alert Condition which should paint Green background if the slope(alf)=1 (=id4.sg1=1) 3. Color background based on Alert Condition which should paint Red background if the slope(alf)=-1 (=id4.sg1=-1) The problem: The slope indicator is showing accurate data but the Color background based on alert condition indicator that is based on the slope indicator is not always accurate and has some "Black" holes that do not equal to the Slope indicator color value in some cases.. Please assist, Avi Date Time Of Last Edit: 2014-11-26 07:00:29
|
[2014-11-26 07:02:10] |
Sierra Chart Engineering - Posts: 104368 |
Make sure the "Color Background Based on Alert Condition" studies are at the bottom of the Studies to Graph list in the Chart Studies window.
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 |
[2014-11-26 07:04:41] |
avifutures - Posts: 59 |
Yes. They are always the last ones..
|
[2014-11-26 14:50:25] |
mkata - Posts: 103 |
If you duplicate your ALF study and change the drawstyle to Background, you could then remove the two alert studies (probably the slope study too).
|
[2014-11-26 17:36:52] |
avifutures - Posts: 59 |
The problem above is just an example. The problem happens with other studies also.. I use the Color background based on Alert Condition study along with some complex formulas so it must work correctly. |
[2014-11-27 00:13:40] |
avifutures - Posts: 59 |
SC support, can you please assist ?
|
[2014-11-28 08:01:01] |
Sierra Chart Engineering - Posts: 104368 |
We have done a test and this is what we found: http://www.sierrachart.com/image.php?l=1417161461939.png If you examine with the Chart Values tool, the values of the Color Bar Based on Slope study you will see zero values where the Color Background study does not color the background. This is because there is no slope. The Sierra Chart studies, work very reliably. There will not be any trouble with them like 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 |
[2014-11-29 08:23:09] |
avifutures - Posts: 59 |
When the Color Bar Based on Slope study's value equals zero it still outputs a "+1" or "-1" to the chart (if this was chosen in the selection) according to the previous chart output value, so there is a difference between the value seen on the chart and the value that appears in the Chart Values tool.. Proposed solution: Please output the chart value to SG2, so that we have the real value in SG1 and the +1 or -1 value in SG2 so it can be accessed.. BR Avi |
[2014-11-30 03:29:02] |
Sierra Chart Engineering - Posts: 104368 |
You have the source code for the study, it is provided with Sierra Chart, and you can modify it to meet your requirements. Refer to this page for instructions: http://www.sierrachart.com/index.php?page=doc/doc_BuildCustomStudiesDLL.html 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: