QW1:=(HIGH+LOW+CLOSE*2)/4;
QW3:=EMA(QW1,10);
QW4:=STD(QW1,10);
QW5:=(QW1-QW3)*100/QW4;
QW6:=EMA(QW5,5);
RK7:=EMA(QW6,10);
涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;
跌:EMA(涨,4),LINETHICK1,COLORFFFF34;
多线:IF(crOSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;
空线:IF(CROSS(跌,80),70,100),COLORFF9900;
{买1:EMA(跌,4),COLORWHITE;
买2:EMA(买1,4),COLORGREEN;
买M3:=EMA(买2,4);
买M4:=EMA(买M3,4)};
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1.2,0 ),COLOR00CC00;
STICKLINE(涨<REF(涨,1) AND 涨>80,涨,MA(涨,3),8,0 ),COLOR00FF00;
DRAWTEXT(CROSS(REF(涨,1),涨),REF(涨,1)*1.02,'清仓'),COLORGREEN;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1.2,0),COLORFFCCFF;
STICKLINE(涨> REF(涨,1) AND 涨>80,涨,EMA(涨,3),8,0),COLORRED;
DRAWICON(多线,30,1);
DRAWICON(CROSS(跌,80),70,2);
DRAWTEXT(CROSS(涨,跌) AND 跌<30 AND 跌>-10,40,'买入'),COLORCCFF99;
DRAWTEXT(多线>0,-20,'看涨'),COLOR00EFE0;