ctxiong 发表于 2010-8-5 22:06

(精品指标免费送)牛熊三色,六脉神剑(通达信副图)

(精品指标免费送)牛熊三色,六脉神剑(通达信副图)


指标如下:

1,牛熊三色(通达信副图)
EXPMA1:=EXPMA(CLOSE,7);
EXPMA2:=EXPMA(CLOSE,21);
N:=4;
S:=2;
M:=20;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
H3:=高1-(高1-低1)*0.5;
中轴:=REFDATE(H3,DATE),LINETHICK1;
B1:=EMA(C,12);
B2:=EMA(C,26);
B3:=(B1-B2)*2;
WDIF:=中轴+B3;
WDEA:=EMA(WDIF,9);
MACD:=2*(WDIF-WDEA);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
STICKLINE(MACD>0,0,1,0,1),COLORRED;
STICKLINE(MACD<0,0,1,0,1),COLORGREEN;
STICKLINE(EXPMA1>EXPMA2,1,2,0,1),COLORRED;
STICKLINE(EXPMA1<EXPMA2,1,2,0,1),COLORGREEN;
STICKLINE(CLOSE>SAR(N,S,M),2,3,0,1),COLORRED;
STICKLINE(CLOSE<SAR(N,S,M),2,3,0,1),COLORGREEN;
DRAWTEXT(ISLASTBAR,0.5,'MACD'),COLOR0089FF;
DRAWTEXT(ISLASTBAR,1.5,'EXPMA'),COLOR0089FF;
DRAWTEXT(ISLASTBAR,2.5,'SAR'),COLOR0089FF;
NXSS:=MACD>0 AND EXPMA1>EXPMA2 AND CLOSE>SAR(N,S,M);
选股:IF(NXSS AND REF(NXSS,1)=0,3,0),COLORYELLOW,LINETHICK1;
2,六脉神剑(通达信副图)
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF;
A1:=DIFF>DEA;
MACD金叉:=IF(A1,1,0),COLORRED;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
A2:=K>D;
KDJ金叉:=IF(A2,2,0),COLORRED;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSI金叉:=IF(A3,3,0),COLORRED;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWTEXT(ISLASTBAR=1,4,'.LWR'),COLORFFFFFF;
A4:=LWR1>LWR2;
LWR金叉:=IF(A4,4,0),COLORRED;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
BBI金叉:=IF(A5,5,0),COLORRED;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS<MMM,6,2);
DRAWTEXT(ISLASTBAR=1,6,'.MTM'),COLORFFFFFF;
A6:=MMS>MMM;
MTM金叉:=IF(A6,6,0),COLORRED;
买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORYELLOW,LINETHICK2;



醉亨人生 发表于 2020-9-16 08:56

1,牛熊三色(通达信副图)
EXPMA1:=EXPMA(CLOSE,7);
EXPMA2:=EXPMA(CLOSE,21);
N:=4;
S:=2;
M:=20;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
H3:=高1-(高1-低1)*0.5;
中轴:=REFDATE(H3,DATE),LINETHICK1;
B1:=EMA(C,12);
B2:=EMA(C,26);
B3:=(B1-B2)*2;
WDIF:=中轴+B3;
WDEA:=EMA(WDIF,9);
MACD:=2*(WDIF-WDEA);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
STICKLINE(MACD>0,0,1,0,1),COLORRED;
STICKLINE(MACD<0,0,1,0,1),COLORGREEN;
STICKLINE(EXPMA1>EXPMA2,1,2,0,1),COLORRED;
STICKLINE(EXPMA1<EXPMA2,1,2,0,1),COLORGREEN;
STICKLINE(CLOSE>SAR(N,S,M),2,3,0,1),COLORRED;
STICKLINE(CLOSE<SAR(N,S,M),2,3,0,1),COLORGREEN;
DRAWTEXT(ISLASTBAR,0.5,'MACD'),COLOR0089FF;
DRAWTEXT(ISLASTBAR,1.5,'EXPMA'),COLOR0089FF;
DRAWTEXT(ISLASTBAR,2.5,'SAR'),COLOR0089FF;
NXSS:=MACD>0 AND EXPMA1>EXPMA2 AND CLOSE>SAR(N,S,M);
选股:IF(NXSS AND REF(NXSS,1)=0,3,0),COLORYELLOW,LINETHICK1;
2,六脉神剑(通达信副图)
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF;
A1:=DIFF>DEA;
MACD金叉:=IF(A1,1,0),COLORRED;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
A2:=K>D;
KDJ金叉:=IF(A2,2,0),COLORRED;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSI金叉:=IF(A3,3,0),COLORRED;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWTEXT(ISLASTBAR=1,4,'.LWR'),COLORFFFFFF;
A4:=LWR1>LWR2;
LWR金叉:=IF(A4,4,0),COLORRED;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
BBI金叉:=IF(A5,5,0),COLORRED;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS<MMM,6,2);
DRAWTEXT(ISLASTBAR=1,6,'.MTM'),COLORFFFFFF;
A6:=MMS>MMM;
MTM金叉:=IF(A6,6,0),COLORRED;
买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORYELLOW,LINETHICK2;

zgsctx 发表于 2014-4-12 10:30

怎么没有黄金柱的呢

asirzhou 发表于 2015-7-30 18:42

谢谢楼主分享学习学习

易非 发表于 2010-8-5 22:18

好好好好好好好好

龙飞天上 发表于 2010-8-5 22:25

好好好好好

正相反 发表于 2010-8-5 22:31

谢谢。。。

黄黄 发表于 2010-8-5 22:32

学习学习!!

宋哥 发表于 2010-8-5 22:43

回复 1# ctxiong


    学习了

生气了 发表于 2010-8-5 22:43

谢谢楼主分享

正相反 发表于 2010-8-5 22:47

楼主的主图指标可以一并共享一下吗?谢谢了。。。。。。。。

成功无限 发表于 2010-8-5 22:48

谢谢分享:victory:

乐在股中 发表于 2010-8-5 22:48

谢谢楼主,学习

正相反 发表于 2010-8-5 22:53

不错的指标。。。。。。。。

方静 发表于 2010-8-5 22:55

谢谢楼主分享

张进 发表于 2010-8-5 22:55

回复 1# ctxiong

乔乔 发表于 2010-8-5 22:57

学习学习,谢谢楼主

照军 发表于 2010-8-5 23:01

学习一下:handshake
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: (精品指标免费送)牛熊三色,六脉神剑(通达信副图)