通达信六金叉黄柱(源 副图贴图)

[复制链接]
查看97 | 回复0 | 2021-8-20 01:49:17 | 显示全部楼层 |阅读模式

以下是通达信六金叉黄柱(源 副图贴图)(无源码的请下载附件导入)

今天在指标答疑无意中了发现了1个副图指标,显示六指标共振,共振时提示黄柱。
    但只有1个指标略显单调,修改了显示位置,另配了1个指标在一起,从2指标一起的图形看,什么都不用说了。
 
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);  
DEA:=EMA(DIFF,9);  
STICKLINE(DIFF>DEA,-1,-2,3,0),COLORRED;  
STICKLINE(DIFF<DEA,-1,-2,3,0),COLORGREEN;  
MCDA金叉:DIFF>DEA,NODRAW;  
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;  
K:=SMA(RSV,3,1);  
D:=SMA(K,3,1);  
STICKLINE(K>D,-3,-4,3,0),COLORRED;  
STICKLINE(K<D,-3,-4,3,0),COLORGREEN;  
KDJ金叉:K>D,NODRAW;  
LC:=REF(CLOSE,1);  
RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100;  
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;  
STICKLINE(RSI1>RSI2,-5,-6,3,0),COLORRED;  
STICKLINE(RSI1<RSI2,-5,-6,3,0),COLORGREEN;  
RSI金叉:RSI1>RSI2,NODRAW;  
LWR1:=SMA(RSV,3,1);  
LWR2:=SMA(LWR1,3,1);  
STICKLINE(LWR1>LWR2,-7,-8,3,0),COLORRED;  
STICKLINE(LWR1<LWR2,-7,-8,3,0),COLORGREEN;  
LWR金叉:LWR1>LWR2,NODRAW;
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;  
STICKLINE(CLOSE>BBI,-9,-10,3,0),COLORRED;  
STICKLINE(CLOSE<BBI,-9,-10,3,0),COLORGREEN;  
BBI金叉:CLOSE>BBI,NODRAW;  
MTM:=CLOSE-REF(CLOSE,1);  
MMS:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),3);  
MMM:=100*EMA(EMA(MTM,26),12)/EMA(EMA(ABS(MTM),26),12);  
STICKLINE(MMS>MMM,-11,-12,3,0),COLORRED;  
STICKLINE(MMS<MMM,-11,-12,3,0),COLORGREEN;  
MMS金叉:MMS>MMM,NODRAW;  
STICKLINE(MCDA金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉,-13,-14,3,0),COLORYELLOW;


{同花顺MACD粗线副图指标 源码
出现黄柱买入参考,出现蓝柱卖出参考。
使用时请结合其他技术指标、成交量、大盘走势等多因素进行综合判断。}

JJ :=(C*2+H+L)/4;
SKK :( EMA(JJ,13) - EMA(JJ,22))*180,COLORWHITE;
SDD : EMA(SKK,10),COLORYELLOW;
多方: (SKK-SDD)*0.000000001,COLORBLACK,LINETHICK0;
空方: -1*(SKK-SDD)*0.000000001,COLORBLACK,LINETHICK0;
RC:=DYNAINFO(3);
RC,COLORWHITE;
SK:=(SLOPE(EMA(JJ,2),7)*15+JJ)*0.8*0.0001,COLORRED;
SD:=EMA(SK,2),COLORGREEN;
SJ:=2.8*SK-1.8*SD,COLORRED;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);

DK:=2*(S2-S6)*15*4*1.5;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK,2,1),COLORRED;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK,2,0),COLORRED;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,2,0),COLORCYAN;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,2,0),COLORMAGENTA;
STICKLINE(CROSS(多方,空方),RC,RC+DK,2,0),COLORYELLOW;
STICKLINE(CROSS(空方,多方),RC,RC+DK,2,0),COLORCYAN;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK,2,1),COLORCYAN;

755466293.jpg

755466293.jpg

755522193.jpg

755522193.jpg

755588567.jpg

755588567.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则