AA:=MAX(DYNAINFO(3),DYNAINFO(5));
CC:=MIN(DYNAINFO(3),DYNAINFO(6));
DD:=AA-CC;
EE:=CC+DD*7/8;
GG:=CC+DD*0.5/8;
DRAWICON(LONGcrOSS(GG,CLOSE,2),CLOSE,1);
DRAWICON(LONGCROSS(CLOSE,EE,2),CLOSE,2);
M1:=DYNAINFO(4);
M2:=DYNAINFO(5);
M3:=DYNAINFO(6);
M4:=DYNAINFO(11);
M5:=CLOSE;
M6:=BARSCOUNT(M5);
M7:=SUM(vol*CLOSE,0)/SUM(VOL,0);
M8:=MA(M5,M6);
M9:=M8+2*STD(M5,3);
M10:=M8-2*STD(M5,3);
DRAWICON(CROSS(M7,M8),M7,38);
M11:=TIME>93000;
M12:=M5/REF(CLOSE,1)>1.02;
M13:=M5/REF(CLOSE,1)<0.98;
M14:=(HHV(M5,M6)-LLV(M5,M6))/M5<0.05;
M15:=SMA(VOL,30,1);
M16:=(M15-LLV(LLV(M15,1),30))/(HHV(HHV(M15,1),30)-LLV(LLV(M15,1),30))>0.95;
M17:=M12 OR M13;
M18:=M17=0 AND M14 AND M16 AND CROSS(M7,M8);
DRAWTEXT(FILTER(M18,10),M7,3),COLORYELLOW;
M19:=M17=0 AND M14 AND M16 AND CROSS(CLOSE,M7) AND CROSS(CLOSE,M8);
DRAWTEXT(FILTER(M19,10),M7*0.99,4),COLORRED;