TJ1:=EMA((C-L),20)/EMA((H-L),20)*100; TJ2:=(L-Abs(MIN(C,O)))/L<=1; TJ3:=ABS((L-MA(C,5)))/L*100>10; TJ4:=TJ1 AND TJ2 AND TJ3; IF(TJ4 AND TJ1>REF(TJ1,1),TJ4,0);