Support Board
Date/Time: Sat, 04 Jan 2025 07:54:54 +0000
Post From: Formula for Color Background
[2016-05-18 13:14:23] |
jackw - Posts: 57 |
AND(CROSSFROMABOVE(ID9.SG1,ID9.SG3),CROSSFROMBELOW(ID6.SG1,ID7.SG1)) AND(CROSSFROMBELOW(ID9.SG1,ID9.SG3),CROSSFROMABOVE(ID6.SG1,ID7.SG1)) Place each of the above alerts in a separate 'Color Background on an Alert Condition' study. If you wish to combine them into a single alert, then the formula would look like this: OR( AND(CROSSFROMABOVE(ID9.SG1,ID9.SG3),CROSSFROMBELOW(ID6.SG1,ID7.SG1)), AND(CROSSFROMBELOW(ID9.SG1,ID9.SG3),CROSSFROMABOVE(ID6.SG1,ID7.SG1)) ) You can also add the 'Study Angle' study to your chart and hide it. You can then reference that result in your alert formulas. Date Time Of Last Edit: 2016-05-18 17:17:56
|