去评论
彩虹桥投资充电站

金叉死叉共振(通达信公式 副图 源码 测试图)

beyond202104
2023/08/28 16:47:46

本公式金叉死叉共振信号,组合了多个经典公式MACD,KDJ,RSI,LWR,BBI和MMS,共振原理做出买卖信号
通达信导入步骤:策略交易>公式管理器>导入公式>选择需要导入的指标>打开
打开指标步骤:更多>点需要打开的指标>确定

{金叉死叉共振}SJ:1;上线:6.18*SJ,COLOR00FF00,LINETHICK1;下线:0.18*SJ,COLORRED,LINETHICK1;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);DRAWICON(DIFF*SJ>DEA,1,1);DRAWICON(DIFF<DEA*SJ,1,2);{MACD金叉IFF>DEA;}RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);DRAWICON(K*SJ>D,2,1);DRAWICON(K<D*SJ,2,2);{KDJ金叉:K>D;}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;DRAWICON(RSI1*SJ>RSI2,3,1);DRAWICON(RSI1<RSI2*SJ,3,2);{RSI金叉:RSI1>RSI2;}LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);DRAWICON(LWR1*SJ>LWR2*SJ,4,1);DRAWICON(LWR1*SJ<LWR2*SJ,4,2);{LWR金叉WR1>LWR2;}BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;DRAWICON(CLOSE*SJ>BBI,5,1);DRAWICON(CLOSE<BBI*SJ,5,2);{BBI金叉:CLOSE>BBI;}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);DRAWICON(MMS*SJ>MMM*SJ,6,1);DRAWICON(MMS*SJ<MMM*SJ,6,2);


  • 破解源码(年卡、至尊会员专享区)【多板突破】二板或三板后突破 主副选指标
  • 精品指标高手竞价8.4完美和谐版 全网最牛的实战系统
  • 破解源码(年卡、至尊会员专享区)【并线开花】极度分离的多头排列特殊技术形
  • 精品指标《鲤鱼跃龙门系统》通达信1主图/3副图指标
  • 破解源码(年卡、至尊会员专享区)点金跌幅主图(徐文明短线点金金融决策系统
  • 破解源码(年卡、至尊会员专享区)通达信【神秘机构三红系统】主副图选股套装