STICKLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3)
AND OPEN STICKLINE(VOL/REF(VOL,1)>1.9 AND OPEN HORLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3) AND OPEN HORLINE(VOL/REF(VOL,1)>1.9 AND OPEN STICKLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3) AND OPEN STICKLINE(VOL/REF(VOL,1)>1.9 AND OPEN HORLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3) AND OPEN HORLINE(VOL/REF(VOL,1)>1.9 AND OPEN MA1:MA(CLOSE, N1),colorwhite; MA2:MA(CLOSE, N2),coloryellow; MA3:MA(CLOSE, N3),colorblue; MA4:MA(CLOSE, N4),colorred; MA5:MA(CLOSE, N5),colorgreen; MA6:MA(CLOSE, N6),colormagenta; MA7:MA(CLOSE, N7),colorcyan; MA8:MA(CLOSE, N8),colorgray; JJ:=(3*C+H+L+O)/6; VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36; TJ1:=VOL>1.79*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1); LJL:=FILTER(TJ1,5); TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0))); TP:=TJ2=1; STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),coloryellow; TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0))); STFZ:=TJ3=1; CL:=STFZ AND TP; TJCL:=FILTER(CL,3);