过百趋势[同花顺公式]
相关标签:
NOTEXTH:100,colorred;
NOTEXTL:0,colorblue;
NOTEXTD:-75,COLORGREEN;//http://www.cxh99.com
NOTEXTK:-100,coloryellow;
TYP:=(H+L+C)/3;
CC:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorblue,NODRAW;
STICKLINE(CC<-100,CC,REF(CC,1),10,1),colorgray;
STICKLINE(CC>-100 AND CC>REF(CC,1),CC,REF(CC,1),10,0),coloryellow;
STICKLINE(CC>-100 AND CC<REF(CC,1),CC,REF(CC,1),10,1),coloryellow;
STICKLINE(CC>-75 AND CC>REF(CC,1),CC,REF(CC,1),10,0),COLORGREEN;//http://www.cxh99.com
STICKLINE(CC>-75 AND CC<REF(CC,1),CC,REF(CC,1),10,1),COLORGREEN;//http://www.cxh99.com
STICKLINE(CC>0 AND CC>REF(CC,1),CC,REF(CC,1),10,0),colorblue;
STICKLINE(CC>0 AND CC<REF(CC,1),CC,REF(CC,1),10,1),colorblue;
STICKLINE(CC>100,CC,REF(CC,1),10,0),colorred;
STICKLINE(CC>REF(CC,1)AND REF(CC,1)>REF(CC,2)AND REF(CC,2)>100,CC,REF(CC,1),10,0),colormagenta;
趋势:EMA(EMA(CC,5),10),coloryellow,LINETHICK2;
NOTEXT趋:IF(趋势>REF(趋势,1),趋势,DRAWNULL),colorred,LINETHICK2;
NOTEXT势:IF(趋势<REF(趋势,1),趋势,DRAWNULL),colorgreen,LINETHICK2;
QS:EMA(趋势,4),colorgray,LINETHICK2;
NOTEXTQ:IF(QS>REF(QS,1),QS,DRAWNULL),colorred,LINETHICK2;
NOTEXTS:IF(QS<REF(QS,1),QS,DRAWNULL),colorgreen,LINETHICK2;
STICKLINE(QS<95 AND CC>QS AND CC>-75 AND CC<100,CC,REF(CC,1),4,0),colorred;
NOTEXT趋势:IF(CC>QS AND CC>-75,趋势,DRAWNULL),colorblue,LINETHICK2;
NOTEXTQS:IF(QS>REF(QS,1)AND CC>0,QS,DRAWNULL),colorblue,LINETHICK2;
DRAWICON(QS>REF(QS,1)AND REF(QS,1)<REF(QS,2),QS,1);
DRAWICON(QS<REF(QS,1)AND REF(QS,1)>REF(QS,2),QS,2);
DRAWICON(CROSS(QS,-100),-100,1);
DRAWICON(CROSS(QS,-100),-125,1);
DRAWICON(CROSS(QS,-75),-75,1);
DRAWICON(CROSS(QS,-75),-100,1);
DRAWICON(CROSS(QS,0),0,1);
DRAWICON(CROSS(QS,0),-25,1);
DRAWICON(CROSS(QS,95),100,1);
DRAWICON(CROSS(QS,95),75,1);
DRAWICON(CROSS(95,QS),100,2);
DRAWICON(CROSS(95,QS),125,2);
DRAWICON(CROSS(0,QS),0,2);
DRAWICON(CROSS(0,QS),25,2);
DRAWICON(CROSS(-75,QS),-75,2);
DRAWICON(CROSS(-75,QS),-50,2);
DRAWICON(CROSS(-100,QS),-100,2);
DRAWICON(CROSS(-100,QS),-75,2);
//www.cxh99.com
CD:CURRBARSCOUNT+1,colorgray,NODRAW;
金叉:BARSLAST(CROSS(QS,0))+1,POINTDOT,colorred;
死叉:-(BARSLAST(CROSS(0,QS))+1),POINTDOT,COLORGREEN;//http://www.cxh99.com
总天数:TOTALBARSCOUNT,colorwhite,NODRAW;
STICKLINE(CD=100,100,-100,2,0);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容