Support Board
Date/Time: Sun, 11 May 2025 05:03:19 +0000
Post From: color background based on alert condition
[2016-05-18 19:49:30] |
Chris H - Posts: 5 |
I would like to write a formula using the color background base on Alert condition (unless there is a better study) When the CCI is crossing (or has just crossed) the +100 line in a downward direction and the Moving linear regression length 4 is crossing (or has just crossed) the Moving linear regression length 9 in a downward direction (20 degrees min. if possible): I would like both MLR to be going in the same direction (downward) with 20 degrees when the alert trigger; an arrow would work if the background is making difficult to figure. Then just the oppose with the CCI crossing the -100 line and the move linear regressions crossed and moving upward. You are welcome to call me or do a remote link if that would help (713-992-5220) ID9.SG1=CCI line ID9.SG3= +100 line ID9.SG4= -100 line ID7.SG1=moving linear regression 9 ID6.SG1=moving linear regression 4 =AND(CROSSFROMABOVE(ID9.SG1,ID9.SG3),CROSSFROMBELOW(ID6.SG1,ID7.SG1)) When the CCI line crosses the +100 downward and LR4 crossed LR9 going down =AND(CROSSFROMBELOW(ID9.SG1,ID9.SG3),CROSSFROMABOVE(ID6.SG1,ID7.SG1)) When the CCI line crosses the -100 upward and LR4 crosses the LR9 going up do I need an "study angle" for direction what number of bars to calculate? |