QW1:=(HIGH+LOW+CLOSE*2)/4;
QW3:=EMA(QW1,10);
QW4:=STD(QW1,10);
QW5:=(QW1-QW3)*100/QW4;
QW6:=EMA(QW5,5);
涨: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),COLOR0099FF,LINETHICK1;
买1:=EMA(跌,4),colorwhite;
买2:=EMA(买1,4),colorgreen;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),colorwhite;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,colorliblue;
QT1:=(INDEXH+INDEXL+INDEXC*2)/4;
QT3:=EMA(QT1,10);
QT4:=STD(QT1,10);
QT5:=(QT1-QT3)*100/QT4;
QT6:=EMA(QT5,5);
涨1:=EMA(QT6,10)+100/2-5,LINETHICK1,colorred;
跌1:=EMA(涨1,4),LINETHICK1,COLORFFFF34;
DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99;
DRAWTEXT(多线>0 AND 涨1>=跌1,-20,'看涨'),COLOR0000FF;