N1:=20;
VAR1:=(LOW+HIGH+CLOSE)/3;
A1: HHV(X,N1)COLORMAGENTA;
A3: HHV(HIGH,N2)*0.98,COLOR0000FF;
B2: LLV(LOW,N2)*1.02;
DRAWTEXT(X=A1 AND REF(X,1)<REF(A1,1),LOW,'强烈反转' ),COLORYELLOW;
OPEN1:=O>FD*2+L;
OPEN2:=NOT(OPEN1 OR OPEN3);
CLOSE3:=C<FD+L;
DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
KFZD:=NOT(DFZD OR WQS1);
QSXS:=ZD>REF(H,1);
WQS2:=NOT(QSXS OR QSXX);
S2:=KFZD AND QSXX ;
S4:=KFZD AND QSXS;
S6:=KFZD AND WQS2;
STICKLINE(S2 ,C ,O,3,0 ),COLORFF2020;
STICKLINE(S3,C,O,3,0),COLORYELLOW;
STICKLINE(S5,C,O,3,0),COLORMAGENTA;
STICKLINE(S7,C,O,3,0),COLORGRAY;