SHX:=C>O OR (C=O AND C>=REF(C,1));
LST:=BARSLASTCOUNT(SHX);
HDW:=FILTERX(LST>0,LST)*(LST>8);
LHCW:=CROSS(BACKSET(HDW,8),0.1);
DRAWLINE(LHCW,L,HDW,L,8);
{连续三天收阳线,在最后两根阳线低点向右划线};
HDW1:=FILTERX(LST>0,LST)*(LST>7);
LHCW1:=CROSS(BACKSET(HDW1,7),0.1);
DRAWLINE(LHCW1,L,HDW1,L,7);
HDW2:=FILTERX(LST>0,LST)*(LST>6);
LHCW2:=CROSS(BACKSET(HDW2,6),0.1);
DRAWLINE(LHCW2,L,HDW2,L,6);
HDW3:=FILTERX(LST>0,LST)*(LST>5);
LHCW3:=CROSS(BACKSET(HDW3,5),0.1);
DRAWLINE(LHCW3,L,HDW3,L,5);
HDW4:=FILTERX(LST>0,LST)*(LST>4);
LHCW4:=CROSS(BACKSET(HDW4,4),0.1);
DRAWLINE(LHCW4,L,HDW4,L,4);
HDW5:=FILTERX(LST>0,LST)*(LST>3);
LHCW5:=CROSS(BACKSET(HDW5,3),0.1);
DRAWLINE(LHCW5,L,HDW5,L,3);
HDW6:=FILTERX(LST>0,LST)*(LST>2);
LHCW6:=CROSS(BACKSET(HDW6,2),0.1);
DRAWLINE(LHCW6,L,HDW6,L,2);
HDW7:=FILTERX(LST>0,LST)*(LST>1);
LHCW7:=CROSS(BACKSET(HDW7,2),0.1);
DRAWLINE(LHCW7,L,HDW7,L,2);
A:=REF(C,1)>REF(O,1);
B:=L>REF(C,1);
XG:=A AND B;
KTA:=CROSS(A,B);
KTAT:=BARSLAST(B);
KTBA:=BARSLAST(CROSS(A,B))+1;
KTBB:=BARSLAST(XG);
KTBC:=LLVBARS(LOW,MIN(KTBA,KTBB));
KTCA:=MAX(KTBC,1);
KTC:=CROSS(BACKSET(KTA,KTCA+1),0.5);
KTQC:=LLVBARS(LOW,KTBA);
KTQD:=BACKSET(KTA,REF(KTQC+1,KTAT+1)+KTAT+1);
KTQ:=CROSS(KTQD,0.5);
KTGC:=LLVBARS(LOW,KTAT+1);
KTGD:=BACKSET(KTA,REF(KTGC+1,KTBA)+KTBA);
KTG:=CROSS(KTGD,0.5);
NOTEXT8RAWLINE(KTG,LOW,KTC,LOW,1),COLORMAGENTA,LINETHICK3;
DDDW:=CURRBARSCOUNT=CONST(TROUGHBARS(L,6,1))+1;
SPX1:=L*1.1;
SPX2:=L*1.2;
STICKLINE(DDDW,SPX2,L,0,1),COLOR00FFFF;
DRAWLINE(DDDW,SPX2,REF(DDDW,1),REF(SPX2,1),1),COLOR00FFFF;
DRAWLINE(DDDW,SPX1,REF(D |