强弱线:REF(ma(COst(80),2),1),COLORWHITE,DOTLINE;
X_3:=强弱线;
均线:(EMA(EMA(EMA(C,15),3),3)),COLORWHITE;
DRAWKLINE(H,O,L,C);
DRAWBAND(强弱线,RGB(118,118,118),均线,RGB(118,118,118));
压力:REF(MA(COST(80),2),1),COLORWHITE,DOTLINE;
支撑:(EMA(EMA(EMA(C,15),3),3)),COLORWHITE;
{止损下限}
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,3);
止损下限:IF(LLV(MA(B2,8),3) B2,LLV(MA(B2,8),3),B2);
IF(B2 SMA2,B2,DRAWNULL),COLORRED,LINETHICK2;
IF(B2 SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK2;
{红色K}
STICKLINE(((C = 均线) AND (C = O)),H,L,0,1),COLORRED;
STICKLINE(((C = 均线) AND (C = O)),O,C,3,1),COLORRED;
STICKLINE(((C = 均线) AND (C = O)),H,L,0,0),COLORRED;
STICKLINE(((C = 均线) AND (C = O)),O,C,3,0),COLORRED;
{绿色K}
STICKLINE(((C 均线) AND (C = O)),H,L,0,0),COLORGREEN;
STICKLINE(((C 均线) AND (C = O)),O,C,3,0),COLORGREEN;
STICKLINE(((C 均线) AND (C = O)),H,L,0,0),COLORGREEN;
STICKLINE(((C 均线) AND (C = O)),O,C,3,0),COLORGREEN;
{涨停K}
ZT:=C/REF(C,1) 1.0993 AND C=H;
STICKLINE(ZT,C,O,3,0),COLORDD00DD;
STICKLINE(ZT,C,O,2,0),COLORFF00FF;
STICKLINE(ZT,C,O,1.5,0),COLORFF00FF;
STICKLINE(ZT,C,O,0.5,0),COLORFABBFF;