去评论
彩虹桥投资充电站

通达信指标公式源码资金进出趋势爆发副图指标

胡胡胡美丽_ss
2023/04/21 19:44:56



M:=10;

A:=VOL*C;

B:=SUM(A,1)/SUM(VOL,1);

B1:=EMA(B,17);

资金:=(B-B1)*100/B;

DIFF:EMA(资金,12)-EMA(资金,26),COLORYELLOW;

DEA:EMA(DIFF,9),COLORLIGRAY;

资金进出: 2*(DIFF-DEA), COLORSTICK;

STICKLINE(资金进出>=REF(资金进出,1)AND 资金进出>0,0,资金进出,3,0),COLOR0000AA;

STICKLINE(资金进出>=REF(资金进出,1)AND 资金进出>0,0,资金进出,2,0),COLOR0000CC;

STICKLINE(资金进出>=REF(资金进出,1)AND 资金进出>0,0,资金进出,1,0),COLOR0000EE;

STICKLINE(资金进出>=REF(资金进出,1)AND 资金进出>0,0,资金进出,0.1,0),COLOR5555FF;

STICKLINE(资金进出>=REF(资金进出,1)AND 资金进出>0,0,资金进出,0,0),COLOR8080FF;

STICKLINE(资金进出0,0,资金进出,3,0),COLOR770077;

STICKLINE(资金进出0,0,资金进出,2,0),COLOR990099;

STICKLINE(资金进出0,0,资金进出,1,0),COLORBB00BB;

STICKLINE(资金进出0,0,资金进出,0,0),COLORDD00DD;

STICKLINE(资金进出0,0,资金进出,0.1,0),COLORFF00FF;

STICKLINE(资金进出>REF(资金进出,1)AND 资金进出>0,0,资金进出,3,0),COLORFF0000;

STICKLINE(资金进出>REF(资金进出,1)AND 资金进出<0,0,资金进出,2,0),COLORFF5500;

STICKLINE(资金进出>REF(资金进出,1)AND 资金进出<0,0,资金进出,1,0),COLORFF9900;

STICKLINE(资金进出>REF(资金进出,1)AND 资金进出<0,0,资金进出,0,0),COLORFFFF00;

STICKLINE(资金进出<=REF(资金进出,1)AND 资金进出<0,0,资金进出,3,0),COLOR155500;

STICKLINE(资金进出<=REF(资金进出,1)AND 资金进出<0,0,资金进出,2,0),COLOR208000;

STICKLINE(资金进出<=REF(资金进出,1)AND 资金进出<0,0,资金进出,1,0),COLOR2BAA00;

STICKLINE(资金进出<=REF(资金进出,1)AND 资金进出<0,0,资金进出,0.1,0),COLOR35D500;

STICKLINE(资金进出<=REF(资金进出,1)AND 资金进出<0,0,资金进出,0,0),COLOR40FF00;

M1:=EMA(CLOSE,13);

M2:=EMA(CLOSE,21);

趋势爆发线M1-M2)/M2*100,COLORYELLOW;

M1-M1),COLORRED;

DRAWICON(CROSS(趋势爆发线,轴),轴,1);

IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;

IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK1;

IF(DIFF
IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;

STICKLINE(低位金叉,0,-4.5,2,0),COLORYELLOW;

DRAWTEXT(低位金叉,-4,' 低位金叉'),COLORYELLOW;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

STICKLINE(二次金叉,0,-2.5,5,0),COLORFF00FF;

DRAWTEXT(二次金叉,-2,' 二次金叉'),COLORFF00FF;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

STICKLINE(底背离,0,2.5,3,0),COLOR00FF00;

DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;

DRAWTEXT(底背离,2,' 底背离'),COLOR00FF00;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

STICKLINE(顶背离,0,4.5,3,0),COLORFFFF00;

DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORFFFF00,LINETHICK2;

DRAWTEXT(顶背离,4,' 顶背离'),COLORFFFF00;

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。


  • 免费指标分享最新版三红共振套装
  • 破解源码(年卡、至尊会员专享区)通达信指标公式10000个(一万个)综合型公
  • 破解源码(年卡、至尊会员专享区)预测趋势主图+副图
  • 免费指标分享藏龙至尊版,带L2资金统计功能,包含竞价绝
  • 免费指标分享双黄起跳主图+副图+无未来函数
  • 免费指标分享绿三线合一主图+副图+无未来函数