V0:EMA(C,3);
V1:EMA(C,8);
V2:EMA(C,13);
V3:EMA(C,34);
V4:EMA(C,55),COLORBLUE;
日144:EMA(C,144),COLORRED;
M1:=1000*MIN(V1,V4)/MAX(V1,V4)>=975;
M2:=1000*MIN(V2,V4)/MAX(V2,V4)>=985;
M3:=1000*MIN(V3,V4)/MAX(V3,V4)>=990;
M4:=M1 AND M2 AND M3 AND crOSS(V0,V1);
M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);
DRAWICON(M4 OR M5,L-0.1,9);
DRAWTEXT((L<V0 AND L<V1 AND L<V2 AND L<V3 AND L<V4 AND C>V0 AND C>V1 AND C>V2 AND C>V3 AND C>V4),L*0.98,'↑'),COLORRED;
STICKLINE(L<V0 AND L<V1 AND L<V2 AND L<V3 AND C>V0 AND C>V1 AND C>V2 AND C>V3,L,C,2,1),COLORYELLOW;
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=HHV(VOL,10) AND VOL>2*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),LINETHICK2 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);
STICKLINE(LJL,OPEN,CLOSE,2,0),COLORYELLOW;