股票论坛

标题: 请老师帮忙做个观注等于30的条件选股指标,谢谢! [打印本页]

作者: 一跃千里    时间: 2016-9-17 17:44
标题: 请老师帮忙做个观注等于30的条件选股指标,谢谢!
指标源码:

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;
作者: 梦想成真    时间: 2016-9-17 17:44
观注=30选股.
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;
跌:=EMA(涨,4);
观注:=IF(CROSS(涨,跌) AND 涨<90 AND 涨>0,30,-80);
XG:观注=30;

作者: 梦想成真    时间: 2016-9-17 21:18
QW1:=(HIGH+LOW+CLOSE*2)/4;
QW3:=EMA(QW1,10);
QW4:=STD(QW1,10);
观注=30选股.
QW5:=(QW1-QW3)*100/QW4;
QW6:=EMA(QW5,5);
涨:=EMA(QW6,10)+100/2-5;
跌:=EMA(涨,4);
观注:=IF(CROSS(涨,跌) AND 涨<90 AND 涨>0,30,-80);
XG:观注=30;





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2