Support Board
Date/Time: Wed, 27 Nov 2024 15:42:55 +0000
[User Discussion] - CCI
View Count: 1107
[2014-08-25 15:48:19] |
mayerrs - Posts: 70 |
hi, i would like to cet CCI lke this: there are 5 lines on the picture: 200, 100, 0, -100, -200 and there is CCI. my CCI is set when CCI is above 0 CCI is green on bellow 0 CCI is red. am i somehow easily able to set different color if CCI is above +200 or bellow -200? thanks |
[2014-08-25 16:12:48] |
Sawtooth - Posts: 4120 |
Use two instances of the Color Bar Based on Alert Condition study, one for each color. Both of these must be below the CCI study in the Studies to Graph list. Set the Based On to the CCI study Set the Chart Region to the same as the CCI study Set the Output When Condition True to Use Input Data Set the Input Data to CCI Set the Draw Style to Bar Use these formulas: =ID1.SG1>200 =ID1.SG1<-200 where ID1 is the CCI study. Edit if needed. |
[2014-09-04 13:52:22] |
mayerrs - Posts: 70 |
thank you, it works but i was wondering. do you think there would be possible to set this like CCI bars would be colored just and only above +200 and belove -200? not between 0 and +-200. i believe this would be more clear. thank you |
[2014-09-04 15:09:29] |
Sawtooth - Posts: 4120 |
It's not possible using the Color Bar study, but it is possible using the Spreadsheet Study study. In fact, if you want you could draw all of the lines with it also, so you'd only have one CCI study and one spreadsheet study. If this is the solution you want to use, let me know. |
To post a message in this thread, you need to log in with your Sierra Chart account: