Support Board
Date/Time: Wed, 12 Feb 2025 15:13:44 +0000
Post From: Alert Settings
[2020-10-23 20:47:19] |
Sawtooth - Posts: 4173 |
The User Contributed 'Slope of MA34(two stage)' study colors the line based on its settings, but it does not output any values related to those colorings. But you should still be able to compare the current SG1 with SG1[-1] using ID8.SG1 > ID8.SG1[-1]. It works for me when used by itself. I notice that your formula does not follow the ABC format in post #7 regarding ID8. If it is your intent to, try this formula: =OR( AND(ID2.SG1+ID2.SG2>ID2.SG1[-1]+ID2.SG2[-1],ID1.SG1>ID1.SG2,ID8.SG1>ID8.SG1[-1]), AND(ID2.SG1+ID2.SG2>0,CROSSFROMBELOW(ID1.SG1,ID1.SG2),ID8.SG1>ID8.SG1[-1]), AND(ID2.SG1+ID2.SG2>0,ID1.SG1>ID1.SG2,ID8.SG1<ID8.SG1[-1],ID8.SG1>ID8.SG1[-1])) In the 1st AND, the 1st condition transitions, the 2nd and 3rd have already. In the 2nd AND, the 2nd condition transitions, the 1st and 3rd have already. In the 3rd AND, the 3rd condition transitions, the 1st and 2nd have already. |