通达信股经叠彩线指标公式源码[通达信公式]
相关标签: 股经 股票分析软件 、 百股经 、 股经阁 、 股经传奇 、 智汇股经 、 000677百股经 、 智汇股经博客 、 股经英雄传 、 梁氏股经 、
股经叠彩线
主图
{通达信版本主图公式:股经叠彩线}
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HJX21:=(21*A+20*ref(A,1)+19*ref(A,2)+18*ref(A,3)+17*ref(A,4)+16*ref(A,5)+
15*ref(A,6)+14*ref(A,7)+13*ref(A,8)+12*ref(A,9)+11*ref(A,10)+
10*ref(A,11)+9*ref(A,12)+8*ref(A,13)+7*ref(A,14)+6*ref(A,15)+
5*ref(A,16)+4*ref(A,17)+3*ref(A,18)+2*ref(A,19)+
ref(A,21))/231;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,' '),COLORRED;
HJX3:=(3*A+2*ref(A,1)+ref(A,2))/6;
DC1:EMA(HJX3,4),COLORLIMAGENTA;
DC2:EMA(DC1,3),COLORRED;
DC3:EMA(DC1,7),COLORRED;
K1:=BACKSET(DC1<ref(DC1,1),2);
IF(K1,DC1,DRAWNULL),COLORGREEN,LINETHICK1;
K2:=BACKSET(DC2<ref(DC2,1),2);
IF(K2,DC2,DRAWNULL),COLORGREEN,LINETHICK1;
K3:=BACKSET(DC3<ref(DC3,1),2);
IF(K3,DC3,DRAWNULL),COLORGREEN,LINETHICK1;
DC4:EMA(HJX21,6),COLORYELLOW;
DC5:EMA(HJX21,16),COLORYELLOW;
DC6:EMA(HJX21,34),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
YX2:=D>ref(D,1);
YX3:=DC4>DC6 AND DC5>DC6;
YX4:=CLOSE>DC4 AND CLOSE/DC4<1.1;
YX5:=DC1>DC2 AND DC2>DC3;
XG:=YX2 AND YX3 AND YX4;
神彩飞扬:=XG AND COUNT(XG,10)=1 AND COUNT(YX5,10)<5;
DRAWTEXT(神彩飞扬,LOW*0.98,'神彩'),COLORFFFFFF;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
XG0:=CROSS(MACD,0);
XG1:=CROSS(CLOSE,DC1) AND CROSS(CLOSE,DC2) AND CROSS(CLOSE,DC3) AND BARSLAST(XG0)<=5
AND CLOSE<DC4 ;
DRAWTEXT(XG1,LOW*0.98,'叠彩'),COLORFF00FF;
HJX:=EMA(HJX21,12);
ZF:=100*(CLOSE-ref(CLOSE,1))/ref(CLOSE,1);
TTUP:=HJX+2*STD(CLOSE,20);
TTDOWN:=HJX-2*STD(CLOSE,20);
HUP:=EMA(TTUP,3);
HDOWN:=EMA(TTDOWN,3);
LBRISE:=HUP/ref(HUP,1)>1.0035;
MIDRISE:=HJX>ref(HJX,1);
LBDOWN:=HDOWN<ref(HDOWN,1);
CLB1:=LOW/HUP<1.01 AND CLOSE/HUP>0.99 AND (OPEN+LOW)/2.1<HUP ;
KXT:=CLOSE>OPEN AND ((HIGH-CLOSE)+(OPEN-LOW))/(CLOSE-OPEN)<1.2 AND HIGH/CLOSE<1.035;
TDKD:=100*(HUP-HDOWN)/HJX;
TDXT:=TDKD<15 AND LLV(TDKD,8)<10;
XGG:=LBRISE AND MIDRISE AND CLB1 AND KXT AND TDXT;
CXG:=COUNT(XGG,20);
喇叭开口:=XGG AND CXG=1 AND COUNT(LBRISE,10)<10 AND HIGH/HHV(HIGH,5)>0.98;
DRAWTEXT(喇叭开口,LOW*0.99,'喇叭'),COLORFFFF00;
DRAWICON(CROSS(DC1,DC2),LOW*0.99,5);
DRAWICON(神彩飞扬,LOW*0.970,9);
DRAWICON(喇叭开口,LOW,2),COLORFFFF00;
{本文来至CXH99.COM}
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容