通达信指标公式源码概况:

指标类别: 通达信指标公式

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

通达信主力资金监控指标公式

var10:=100*(C-COST(10))/COST(10);

var1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;

var2:=SMA(var1,4,1);

var3:=SMA(var2,2,1);

var4:=VOL/CAPITAL*34;

var5:=REF(var4,1);

主力建仓提醒: IF(var38.5 AND var211,-10,0),colorred;

空跌幅度:IF(var100,var10,0),linethick2;

-10,colorccff99,POINTDOT;

-20,colorccff99,POINTDOT;

-25,colorccff99,POINTDOT;

var11:=SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,3,1);

跌幅:IF(EMA(100*(C-COST(10))/COST(10),10)0,EMA(100*(C-COST(10))/COST(10),10),0),linethick2;

提醒: IF(SMA(var11,2,1)8.5 AND var1111,-5,0),COLORFFFFFF;

DRAWTEXT(CROSS(提醒,-1),-1,'确认'),COLORFFBB00;

资金流向:=ZJLR[-1]-ZJLC[-1],coloryellow;

五日均线:MA(资金流向,5),colorred;

十日均线:MA(资金流向,10),colorgreen;

二十日均线:MA(资金流向,20),coloryellow;

P:=5;

R:=(AMOUNT / 1000000);

R1:=IF(CREF(C,1),R,IF(C R3:=SUM(R1,13);

资金监控K:(R3 * OPEN),POINTDOT,colorFFCC00;

资金监控S:(R3 * CLOSE),POINTDOT,colorFFCC00;

资金平衡位:MA(资金监控S,8),colorred;

平衡A:MA(资金平衡位,5),colorwhite;

STICKLINE((资金监控S = REF(资金监控S,1)),REF(资金监控S,1),资金监控S,6,0),color0000FF;

STICKLINE((资金监控S  REF(资金监控S,1)),REF(资金监控S,1),资金监控S,6,0),color00FF00;

MA(资金监控S,P),color00FFFF;

image.png

通达信主力资金追踪指标

a=(ZDMR[-1]+BDMR[-1]);

b=(ZDMC[-1]+BDMC[-1]);

a1=SUM(a,1)/100000000;

b1=-SUM(b,1)/100000000;

STICKLINE(a1+b10,0,a1+b1,9,0),color0000ff;

STICKLINE(a1+b10,0,a1+b1,9,0),color00ff00;

当日净差【亿股】:SUM(a1+b1,1),coloryellow;

三日净差【亿股】:SUM(a1+b1,3),colorcyan;

五日净差【亿股】:SUM(a1+b1,5),colorred;

十日净差【亿股】:SUM(a1+b1,10),colorwhite;

N:=27;N2:=9;N3:=3;N4:=16;

Var1:=IF(DATE=1030131,1,1);

Var2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

获利盘:WINNER(CLOSE)*100*Var1;

Var3:=SMA(Var2,3,1)*Var1;

Var4:=SMA(Var3,N2,1)*Var1;

Var5:=3*Var3-2*Var4*Var1;

Var6:=VOL*Var1;

角度:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*Var1;

换手: VOL/CAPITAL*100*Var1;

Var7:=SUM(换手,30)*Var1;

Var8:=LLV(INDEXL,5)*Var1;

Var9:=HHV(INDEXH,5)*Var1;

VarA:=EMA((INDEXC-Var8)/(Var9-Var8)*100,4);

VarB:=MA(EMA(0.667*REF(VarA,1)+0.333*VarA,2),9);

VarC:=MA(VarB,30);

VarD:=EMA(获利盘,4)*Var1;

本盘亿股: CAPITAL/1000000;

V5: MA(VOL,5)*2*Var1;

V13: MA(VOL,13)*2*Var1;

CROSS(VarB,VarC) AND VarC29*Var1;

STICKLINE(VOL AND Var5Var4,0,VOL,9,0),color000055;

STICKLINE(VOL AND Var5Var4,0,VOL,8,0),color000066;

STICKLINE(VOL AND Var5Var4,0,VOL,7,0),color000077;

STICKLINE(VOL AND Var5Var4,0,VOL,6,0),color000088;

STICKLINE(VOL AND Var5Var4,0,VOL,5,0),color000099;

STICKLINE(VOL AND Var5Var4,0,VOL,4,0),color0000aa;

STICKLINE(VOL AND Var5Var4,0,VOL,3,0),color0000bb;

STICKLINE(VOL AND Var5Var4,0,VOL,2,0),color0000cc;

STICKLINE(VOL AND Var5Var4,0,VOL,1,0),color0000dd;

STICKLINE(VOL AND Var5Var4,0,VOL,9,0),colorFF1100;

STICKLINE(VOL AND Var5Var4,0,VOL,8,0),colorFF2200;

STICKLINE(VOL AND Var5Var4,0,VOL,7,0),colorFF3300;

STICKLINE(VOL AND Var5Var4,0,VOL,6,0),colorFF4400;

STICKLINE(VOL AND Var5Var4,0,VOL,5,0),colorFF5500;

STICKLINE(VOL AND Var5Var4,0,VOL,4,0),colorFF6600;

STICKLINE(VOL AND Var5Var4,0,VOL,3,0),colorFF7700;

STICKLINE(VOL AND Var5Var4,0,VOL,2,0),colorFF8800;

STICKLINE(VOL AND Var5Var4,0,VOL,1,0),colorFF9900;

STICKLINE(VOL AND Var4N4,0,VOL,9,0),color333333;

STICKLINE(VOL AND Var4N4,0,VOL,8,0),color444444;

STICKLINE(VOL AND Var4N4,0,VOL,7,0),color555555;

STICKLINE(VOL AND Var4N4,0,VOL,6,0),color666666;

STICKLINE(VOL AND Var4N4,0,VOL,7,0),color777777;

STICKLINE(VOL AND Var4N4,0,VOL,6,0),color888888;

STICKLINE(VOL AND Var4N4,0,VOL,5,0),color999999;

STICKLINE(VOL AND Var4N4,0,VOL,4,0),coloraaaaaa;

STICKLINE(VOL AND Var4N4,0,VOL,3,0),colorbbbbbb;

STICKLINE(VOL AND Var4N4,0,VOL,2,0),colorcccccc;

STICKLINE(VOL AND Var4N4,0,VOL,1,0),colordddddd;

RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;

抛压:STICKLINE(CROSS(84,RSI),0 ,VOL,9,0),COLORFF0033;

STICKLINE(CROSS(84,RSI),0 ,VOL,8,0),COLORFF0044;

STICKLINE(CROSS(84,RSI),0 ,VOL,7,0),COLORff0055;

STICKLINE(CROSS(84,RSI),0 ,VOL,6,0),COLORff0066;

STICKLINE(CROSS(84,RSI),0 ,VOL,5,0),COLORff0077;

STICKLINE(CROSS(84,RSI),0 ,VOL,4,0),COLORFF0088;

STICKLINE(CROSS(84,RSI),0 ,VOL,3,0),COLORff0099;

STICKLINE(CROSS(84,RSI),0 ,VOL,2,0),COLORff00aa;

STICKLINE(CROSS(84,RSI),0 ,VOL,1,0),COLORff00bb;

VAR13:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR14:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR15:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

VAR16:=(VAR13+VAR14+VAR15)/3;

VAR18:=IF(VAR16=-20,10,0);

VAR19:=HHV(VAR18,10);

VAR20:=IF(VAR19 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

底部:STICKLINE(VAR20=20,0 ,VOL,9,0),COLOR005555;

STICKLINE(VAR20=20,0 ,VOL,8,0),COLOR006666;

STICKLINE(VAR20=20,0 ,VOL,7,0),COLOR007777;

STICKLINE(VAR20=20,0 ,VOL,6,0),COLOR008888;

STICKLINE(VAR20=20,0 ,VOL,5,0),COLOR009999;

STICKLINE(VAR20=20,0 ,VOL,4,0),COLOR00aaaa;

STICKLINE(VAR20=20,0 ,VOL,3,0),COLOR00bbbb;

STICKLINE(VAR20=20,0 ,VOL,2,0),COLOR00CCCC;

STICKLINE(VAR20=20,0 ,VOL,2,0),COLOR00dddd;

VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VARF:=100-3*SMA((CLOSE-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1),15,1);

VAR100:=100-3*SMA((OPEN-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1),15,1);

VAR111:=VARFREF(VAR100,1) AND VOLREF(VOL,1) AND CLOSEREF(CLOSE,1);

大资金活动:STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,9,0),COLOR006600;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,8,0),COLOR007700;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,7,0),COLOR008800;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,6,0),COLOR009900;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,5,0),COLOR00aa00;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,4,0),COLOR00BB00;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,3,0),COLOR00CC00;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,2,0),COLOR00DD00;

STICKLINE(VAR111 AND COUNT(VAR111,30)=1,0 ,VOL,1,0),COLOR00EE00;

A8:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;

B8:=A8*(1+ ((C+O+H+L)/4-SMA(C,10,1))/SMA(C,21,1));

D8:=A8+3*STD(A8,10);

DRAWICON(CROSS(B8,A8) AND A8REF(A8,1) AND D8REF(D8,1),0,1);

主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;

指数趋势:

EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;

强弱分界: 80,coloryellow;

主力筹码集中度:WINNER(C)*100 ,colorred,linethick2;

散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。