Support Board
Date/Time: Mon, 25 Nov 2024 20:45:31 +0000
Trying to generate a background in a lower panel via the CurrentPrice study.
View Count: 1351
[2014-02-25 17:58:21] |
djcurcio - Posts: 236 |
I'm trying to generate a green background using Color Bar on Alert with the CurrentPrice using code: =SG1.id1>SG1.id1[-1] where SG1 is the CurrentPrice study. And a red background using the code =SG1.di1<SG1.id1[-1]. It does not seem to work. Help please. Thanks |
[2014-02-25 18:25:16] |
WarriorTrader - Posts: 245 |
Hello, You have the "id" in wrong place and you have "di" instead of "id" Here is an example of something I use with the color background study for a divergence sell: =AND(AND(ID8.SG1[-2]<ID8.SG1,ID8.SG2[-2]>ID8.SG2) ,ID8.SG1>20) Hope it helps, WT Date Time Of Last Edit: 2014-02-25 18:25:41
|
[2014-02-25 18:49:46] |
djcurcio - Posts: 236 |
Thanks for the feedback - typos was only in the message, not the code. LOL. Seems to be some weirdness with the CurrentPrice study. I'm testing it more. In your code, what is ID8. Thanks. |
[2014-02-25 20:06:59] |
WarriorTrader - Posts: 245 |
it is like ID1 in your code
|
To post a message in this thread, you need to log in with your Sierra Chart account: