AA:=BARSLAST(COUNT(C<O,3)>=3 AND HHV((REF(C,1)/C-1)*100,3)>=5); BB:IF(AA<30,REF(O,BARSLAST(CURRBARSCOUNT=CONST(AA)+1)),DRAWNULL),LINETHICK2,COLORRED; CC:=BARSLAST(CURRBARSCOUNT=CONST(AA)+2); DRAWTEXT(CC,H,'三外三'),DRAWABOVE; DRAWICON((COUNT(C>BB,CC)=1 AND C>BB ORcrOSS(C,BB)) AND CC<=30,L,1);
AA:=BARSLAST(COUNT(C<O,3)>=3 AND HHV((REF(C,1)/C-1)*100,3)>=5);
BB:IF(AA<30,REF(O,BARSLAST(CURRBARSCOUNT=CONST(AA)+1)),DRAWNULL),LINETHICK2,COLORRED;
CC:=BARSLAST(CURRBARSCOUNT=CONST(AA)+2);
DRAWTEXT(CC,H,'三外三'),DRAWABOVE;
DRAWICON((COUNT(C>BB,CC)=1 AND C>BB OR crOSS(C,BB)) AND CC<=30,L,1);