年:=MA(CLOSE,26),COLORB7B711;
STICKLINE(C>=年 AND C<O,C,O,1.2,-1),COLORDDDDDD;
STICKLINE(C>=年 AND C>=O,C,O,2.6,0),COLORCC11CC;
STICKLINE(C>=年 AND C>=O,C,O,1.2,0),COLORFF11FF;
{简单主图}
X_L1:=SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1);
X_L2:=MA(MA(C,1),3);
DD1:(X_L1>X_L2,X_L1,X_L2),COLORDDDDDD;
DD2:IF(X_L1<X_L2,X_L2,DRAWNULL),COLORRED,LINETHICK2;
停损下限:IF(LLV(MA(X_L1,8),3)<X_L1,LLV(MA(X_L1,8),3),X_L1),COLOR33BB33;
M_M1:=MAX(MAX(C-H,ABS(REF(C,1)-C)),ABS(REF(C,1)-L));
M_M2:=MA(M_M1,13);
M_M3:=REF(C,1)-REF(M_M2,1);
买卖:HHV(M_M3,13),COLORDD8811;
K_T1:=MA(H,5)*(1+5/100);
DRAWTEXT(CROSS(K_T1,C),H*1.02,'逃'),COLORFFDD33;