同花顺涨跌有序副图源码
-
相关简介:指标中显示建仓、预警、获利了结、出局等信号。 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,LINETHICK2, coloryellow; 跌:EMA(涨,4),LINETHICK2,colorred; 获利了结:IF(涨160,120,160),COLORFFFF00,LINETHICK2
-
文章来源:股海网作者:股海网发布时间:2017-10-13浏览次数:
指标中显示建仓、预警、获利了结、出局等信号。
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,LINETHICK2, coloryellow;
跌:EMA(涨,4),LINETHICK2,colorred;
获利了结:IF(涨>160,120,160),COLORFFFF00,LINETHICK2;
出局:IF(涨>180,140,190),coloryellow,LINETHICK2;
观注:IF(CROSS(涨,跌) AND 涨<90 AND 涨>0,30,-80),COLORE500E5;
介入:IF(CROSS(涨,跌) AND 涨<-60 ,60,-90),coloryellow,LINETHICK2;
预警:IF(CROSS(涨,跌) AND 涨<-7,30,-10),colorgreen,CIRCLEDOT;
DRAWTEXT(涨>180 AND REF(涨,1)<180,135,'出 局');
DRAWTEXT(涨>160 AND REF(涨,1)<160,110,'逐 步'),coloryellow;
DRAWTEXT(涨>160 AND REF(涨,1)<160,80,'获 利'),coloryellow;
DRAWTEXT(涨>160 AND REF(涨,1)<160,50,'了 结'),coloryellow;
DRAWTEXT(CROSS(涨,跌) AND 涨<-7 ,40,'预 警'),colorgreen;
DRAWTEXT(CROSS(涨,跌) AND 涨<90 AND 涨>0 ,-30,'观 注'),COLORFFFF00;
DRAWTEXT(CROSS(涨,跌) AND 涨<-60,80,'建 仓'),COLORFFFFFF;