;Z:=MA(C,120);VAR3:=(MA(C,5)-Z)/Z;VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);:IF(CLOSE>Z AND REF(VAR4,1)<30>REF(VAR4,1) AND REF(VAR4,1)
[REF(VAR4,1) AND REF(VAR4,1)][=MA(C,10),VAR4,REF(VAR4,1),4,0),colorred;STICKLINE(C<MA(C,10),VAR4,REF(VAR4,1),4,0),colorgreen;
]