Support Board
Date/Time: Wed, 15 Jan 2025 22:51:38 +0000
Color Study Based on Above or Below another study
View Count: 848
[2017-09-21 16:03:49] |
infpz - Posts: 826 |
Hi, if I want to color ID1.SG1 (MA 1) based on whether or not it is above or below ID1.SG2 (MA 2), can you describe the best study/inputs to do that? I am struggling with Color Bar Based on and Color Bar Based Above/Below Study.
Date Time Of Last Edit: 2017-09-21 16:04:30
|
[2017-09-21 17:59:16] |
Sierra Chart Engineering - Posts: 104368 |
If you want two different colors you need to use two instances of the Color Bar Based on Alert Condition study. You need to use these formulas: ID1.SG1 >= ID1.SG2 ID1.SG1 < ID1.SG2 Here is the documentation for the study: Color Bar Based on Alert Condition 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: