您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

多空强弱主图指标公式[同花顺公式]

相关标签:

 

开:O,colorwhite,NODRAW;

收:C,colorwhite,NODRAW;
QD:DRAWBAND(EMA(EMA((H+O+L+C)/4,9),9),RGB(0,100,100),EMA(EMA((H+O+L+C)/4,19),38),RGB(60,60,60));
DRAWKLINE(H,O,L,C);
STICKLINE(C>=O AND C=H AND C>REF(C,1)*1.098,C,O,10,0),coloryellow;
STICKLINE(C>=O AND C<H AND H>REF(C,1)*1.098,(C+O)/2,O,10,0),coloryellow;
RG:EMA(EMA((H+O+L+C)/4,3),3),colorgray,LINETHICK2;
NOTEXTR:IF(RG>REF(RG,1),RG,DRAWNULL),colorred,LINETHICK2;
NOTEXTG:IF(RG<REF(RG,1),RG,DRAWNULL),colorgreen,LINETHICK2;
强弱:EMA(EMA((H+O+L+C)/4,9),9),coloryellow,LINETHICK2;
多空:EMA(EMA((H+O+L+C)/4,19),38),colormagenta,LINETHICK2;
STICKLINE(CROSS(RG,多空),H,L,3,0),colorblue;
STICKLINE(CROSS(RG,多空)AND C>=O,O,C,8,1),colorblue;
STICKLINE(CROSS(RG,多空)AND C<O,O,C,8,0),colorblue;
STICKLINE(CROSS(多空,RG),H,L,3,0),colorblue;
STICKLINE(CROSS(多空,RG)AND C>=O,O,C,8,1),colorblue;
STICKLINE(CROSS(多空,RG)AND C<O,O,C,8,0),colorblue;
上:HHV(H,N)-(HHV(H,N)-LLV(L,N))*0.191,colorblue,LINETHICK2;
下:HHV(H,N)-(HHV(H,N)-LLV(L,N))*0.809,colorblue,LINETHICK2;
DRAWTEXT(CROSS(RG,强弱),(下+LLV(RG,15))/2,'R强金'),colorgray;
DRAWTEXT(CROSS(强弱,RG),(上+HHV(RG,15))/2,'R强死'),colorgray;
DRAWTEXT(CROSS(RG,多空),LLV(下,5),'R多金叉'),colorred;
DRAWTEXT(CROSS(多空,RG),HHV(上,5),'R多死叉'),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(CROSS(强弱,多空),LLV(下,5),'强多金叉'),coloryellow;
DRAWTEXT(CROSS(多空,强弱),HHV(上,5),'强多死叉'),coloryellow;
压:SMA(EMA(COST(81),2),18,1),colorred,LINETHICK2;
支:SMA(EMA(COST(19),2),18,1),colorgreen,LINETHICK2;
TYP:=(H+L+C)/3;
CC:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
趋势:=EMA(EMA(CC,5),10);
QS:=EMA(趋势,4);
DRAWICON(CROSS(QS,0)AND C>支,LLV(下,15),17);
DRAWICON(CROSS(QS,0)AND C>支,LLV(下,15)*0.95,17);
DRAWICON(CROSS(C,支)AND REF(QS,1)<0 AND CC>趋势 AND CC>-75,LLV(下,5),17);
VC:=(ZIG(3,15)>REF(ZIG(3,15),1))AND(REF(ZIG(3,15),1)<=REF(ZIG(3,15),2))AND(REF(ZIG(3,15),2)<=REF(ZIG(3,15),3));
VD:=(ZIG(3,15)<REF(ZIG(3,15),1))AND(REF(ZIG(3,15),1)>=REF(ZIG(3,15),2))AND(REF(ZIG(3,15),2)>=REF(ZIG(3,15),3));
DRAWTEXT((VC=1),(L*0.99),'买'),colorred;
DRAWTEXT((VD=1),(H*1.01),'卖'),COLORGREEN;//http://www.cxh99.com
涨:REF(C,1)*1.1,colorred,NODRAW;
跌:REF(C,1)*0.9,colorgreen,NODRAW;
CD:CURRBARSCOUNT+1,colorgray,NODRAW;
获利:WINNER(C)*100,colorred,NODRAW;
抛物:=SAR_S(2,10,30),colorblue;
抛:IF(C<抛物,抛物,DRAWNULL),CIRCLEDOT,colorred;
高:H,colorred,NODRAW;//www.cxh99.com
物:IF(C>抛物,抛物,DRAWNULL),CIRCLEDOT,COLORGREEN;//http://www.cxh99.com
NOTEXT物:IF(物>支,物,DRAWNULL),CIRCLEDOT,colorblue;
低:L,colorgreen,NODRAW;
F1:=ZIG(3,15);//www.cxh99.com
...
导入公式,可以看全部源码

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容