通达信MACD+KDJ完美同图指标公式,通达信天下无敌之无敌天下指标公式
admin888
|通达信MACD+KDJ完美同图指标公式,通达信天下无敌之无敌天下指标公式
通达信MACD+KDJ完美同图指标公式
stICKLINE(C>0,0,10,5,0),COLOR222222;
STICKLINE(C>0,100,90,5,0),COLOR222222;
DLCL:=crOSS(0.9,"kdj.J"<0);
STICKLINE(DLCL,9,1,3,0),COLOR353500;
STICKLINE(DLCL,9,1,2.5,0),COLOR454500;
STICKLINE(DLCL,9,1,2,0),COLOR555500;
STICKLINE(DLCL,9,1,1.5,0),COLOR656500;
STICKLINE(DLCL,9,1,1,0),COLOR757500;
STICKLINE(DLCL,9,1,0.5,0),COLOR858500;
DLMC:="kdJ.K">80 AND "KDJ.D">80 AND CROSS("KDJ.D","KDJ.K");
STICKLINE(DLMC,91,99,3,0),COLOR353500;
STICKLINE(DLMC,91,99,2.5,0),COLOR454500;
STICKLINE(DLMC,91,99,2,0),COLOR555500;
STICKLINE(DLMC,91,99,1.5,0),COLOR656500;
STICKLINE(DLMC,91,99,1,0),COLOR757500;
STICKLINE(DLMC,91,99,0.5,0),COLOR858500;
{C1:=BArslAST(REF(CROSS("macd.DEA","MacD.DIF"),1));
D1:=REF(C,C1+1)
C1:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D1:=REF(C,C1+1)
STICKLINE(D1>0 ,99,91,3,0),COLOR555555;
STICKLINE(D1>0 ,99,91,2.5,0),COLOR777777;
STICKLINE(D1>0 ,99,91,2,0),COLOR999999;
STICKLINE(D1>0 ,99,91,1.5,0),COLORBBBBBB;
STICKLINE(D1>0 ,99,91,1,0),COLORDDDDDD;
STICKLINE(D1>0 ,99,91,0,0),COLORFFFFFF;
LAW1:=MA(INDEXC,13)/INDEXC;
TJ1:=LAW1>1.05;
LAW3:=(C-MA(C,60))/MA(C,60)*100;
STICKLINE(PERIOD=5 && LAW3<-24 AND TJ1,0,2,3,0),COLOR006600;
STICKLINE(PERIOD=5 && LAW3>24,100,98,3,0),COLOR006600;
N:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1),COLOR444444;
D:=SMA(K,3,1),COLOR666633;
J:3*K-2*D,COLOR444444;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
KX:=BARSSINCE(CLOSE);
HK:=HHV(K,KX);
HD:=HHV(D,KX);
HJ:=HHV(J,KX);
LK:=LLV(K,KX);
LD:=LLV(D,KX);
LJ:=LLV(J,KX);
HKMAX:=MAX(HK,MAX(HD,HJ));
LKMIN:=MIN(LK,MIN(LD,LJ));
KDBL:=(HKMAX+LKMIN)/2;
KDC:=HKMAX-LKMIN;
MHF:=HHV(DIFF,KX);
MHD:=HHV(DEA,KX);
MHM:=HHV(MACD,KX);
MLF:=LLV(DIFF,KX);
MLD:=LLV(DEA,KX);
MLM:=LLV(MACD,KX);
HMAX:=MAX(MHF,MAX(MHD,MHM));
LMIN:=MIN(MLF,MIN(MLD,MLM));
FDBL:=(HMAX+LMIN)/100;
FDC:=HMAX-LMIN;
SH:=(0-FDBL)*(KDC/FDC)+KDBL;
DF:(DIFF-FDBL)*(KDC/FDC)+KDBL,COLORA68064;{COLORWHITE};
DA:(DEA-FDBL)*(KDC/FDC)+KDBL,COLORGRAY{COLORA8A8A8;COLORYELLOW};
MACDA:=(MACD-FDBL)*(KDC/FDC)+KDBL;
CDA:=MACD0;
CDB:=MACD>=REF(MACD,1) AND MACD>0;
CDC:=MACD>REF(MACD,1) AND MACD<0;
CDD:=MACD<=REF(MACD,1) AND MACD<0;
STICKLINE(CDB,50,(MACDA-SH)+50,1,0),COLOREE00EE;
STICKLINE(CDA,50,(MACDA-SH)+50,1,0),{COLOR00DDDD}COLOR3299CC;
STICKLINE(CDC,50,(MACDA-SH)+50,1,0),{COLORAA11BB}COLORCC3299{COLOR9370DB};
STICKLINE(CDD,50,(MACDA-SH)+50,1,0),COLOR666633;
通达信天下无敌之无敌天下指标公式
M:=4;
AA1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
AA2:=SMA(AA1,13,1);
主力线:SMA(AA2,5.5,1.5),COLORCYAN;
股价线:3*AA2-2*主力线,COLORYELLOW;
散户线:4*主力线-3*AA2,COLORMAGENTA;
L1:=EMA(AA1,3);
L2:=EMA(AA1,5);
L3:=EMA(AA1,7);
stICKLINE(L1>L2,L3,L1,2,1),COLORRED;
STICKLINE(L1
T2:=L2
STICKLINE(T1,L1,L3,2,0),COLORRED;
STICKLINE(T2,L1,L3,2,0),COLORGREEN;
RSVCC0:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
STICKLINE( RSVCC0>0, 100,0,10,0),COLORBLacK;
MA21:=EMA(C,20);
MA55:=EMA(C,55);
差20:=MA21-REF(MA21,1);
差55:=MA55-REF(MA55,1);
{20均线走平}
A2133:=REF(MA21,1);
A2200:=REF(MA21,2);
A2300:=REF(MA21,3);
AAAA2:=COUNT(MAX(MAX(MAX(MA21,A2133),A2200),A2300)-MIN(MIN(MIN(MA21,A2133),A2200),A2300)<=M/100,4)>=3;
走平20:=AAAA2 AND MA21>REF(MA21,1);
STICKLINE(走平20,0,1,2,0),COLORYELLOW;
{55均线走平}
A133:=REF(MA55,1);
A200:=REF(MA55,2);
A300:=REF(MA55,3);
AAAA:=COUNT(MAX(MAX(MAX(MA55,A133),A200),A300)-MIN(MIN(MIN(MA55,A133),A200),A300)<=M/100,4)>=3;
走平55:=AAAA AND MA55>REF(MA55,1);
STICKLINE(走平55,0,0.5,2,0),COLORRED;
{均线翻红}
均线翻红20:LONGcrOSS(差20,0,9),COLORYELLOW;
持续关注:IF(LONGCROSS(差20,0,9),50,100),COLORGREEN,LINETHICK3;
买:DRAWICON(CROSS(股价线,主力线),主力线,27);
天下无敌:CROSS(股价线,主力线),COLORFFFF00;
趋势强弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK;
个股趋势:3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1)
-2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1),COLOR00DDDD,NODRAW;
大盘趋势:3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1)
-2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1),COLORDD22DD;
大盘危险:大盘趋势>80,COLOR00FF00,NODRAW;
大盘危险0:趋势强弱<0,,NODRAW;
个股危险:个股趋势>80,COLOR888888,NODRAW;
IF(1,大盘趋势,大盘趋势),COLORDD22DD;
IF(1,个股趋势,个股趋势),COLOR00DDDD;
持股:IF(个股趋势>REF(个股趋势,1) AND 大盘趋势>REF(大盘趋势,1),个股趋势,DRAWNULL),LINETHICK2,COLORRED;
预警:CROSS(大盘趋势,个股趋势) AND 个股趋势<3 OR LONGCROSS(个股趋势,0,3),COLORFF55FF,NODRAW;
STICKLINE(CROSS(大盘趋势,个股趋势)AND 个股趋势<3 OR LONGCROSS(个股趋势,0,3),0,20,1,0),COLORFF55FF;
地板价:IF(COUNT(个股趋势<0,3)=3 AND 个股趋势>REF(个股趋势,1),10,0),COLORFF6000,LINETHICK2;
RSVCC:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*-100;
STICKLINE( RSVCC<0, 1-20,0,10,0),COLORBLACK;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。