HT:=HHVBARS(H,15);
LT:=LLVBARS(L,15);
DF1:=(REF(C,LT)-REF(C,HT+1))/REF(C,HT+1)*100;
DF2:=(C-REF(C,LT+1))/REF(C,LT+1)*100;
TJ:=C>=REF(C,HT);
VAR1:=HT>LT AND DF1<-5 AND COUNT(TJ,HT+1)=1 AND TJ;
VAR2:=BARSLAST(VAR1);
HQF:=BACKSET(VAR1,HT+1);
LQF:=BACKSET(VAR1,LT+1);{16}
HQFT:=BARSLAST(crOSS(HQF=1,0.5));
LQFT:=BARSLAST(CROSS(LQF=1,0.5));
DRAWLINE(HQFT=0,H,LQFT=0,L,0),COLORRED,LINETHICK4;
DRAWLINE(LQFT=0,L,VAR1,L,0),COLORRED,LINETHICK4;
DRAWTEXT(LQFT=0,L*0.95,VARCAT(VARCAT('跌幅:',VAR2STR(REFX(DF1,BARSNEXT(VAR2=0)),2)),'%'))COLORYELLOW;
DRAWTEXT(VAR2=0,H*1.02,VARCAT(VARCAT('涨幅:',VAR2STR(REF(DF2,VAR2),2)),'%'))COLORYELLOW;
STICKLINE(VAR1,C,O,3.1,0),COLORFF8800;
STICKLINE(VAR1,H,L,0,0),COLORFF8800;
IF(VAR1=1,MIN(C,O),DRAWNULL);
DRAWLINE(CURRBARSCOUNT,IF(VAR1,MIN(C,O),DRAWNULL),REF(MIN(C,O),1),REF(IF(VAR1,MIN(C,O),DRAWNULL),1),1),COLORFF8800,LINETHICK3;
{DRAWLINE(CURRBARSCOUNT,MIN(C,O),REF(VAR1,1),REF(MIN(C,O),1),1),COLORFF8800,LINETHICK3;}
DRAWTEXT(ISLASTBAR,DRAWLINE(CURRBARSCOUNT,MIN(C,O),REF(VAR1=1,1),REF(MIN(C,O),1),1),STRCAT('V型反转:',CON2STR(DRAWLINE(CURRBARSCOUNT,MIN(C,O),REF(VAR1=1,1),REF(MIN(C,O),1),1),2))),COLORFF8800;
STICKLINE(LQFT=0,C,O,3.2,0),COLORMAGENTA;
STICKLINE(LQFT=0,H,L,0,0),COLORMAGENTA;
DRAWLINE(CURRBARSCOUNT,L,REF(LQFT=0,1),REF(L,1),1),COLORMAGENTA,LINETHICK3;
DRAWTEXT(ISLASTBAR,DRAWLINE(CURRBARSCOUNT,L,REF(LQFT=0,1),REF(L,1),1),STRCAT('V反底:',CON2STR(DRAWLINE(CURRBARSCOUNT,L,REF(LQFT=0,1),REF(L,1),1),2))),COLORMAGENTA;