通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
VarF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
Var19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
Var20:=VarFREF(Var19,1) AND VOLREF(VOL,1) AND CLOSEREF(CLOSE,1);
DRAWTEXT(Var20 AND COUNT(Var20,30)=1,15, 有大进 关注! ),linethick1,COLORff00ff;aa:=WINNER(CLOSE+CLOSE*15/100)*100;
bb:=WINNER(CLOSE+CLOSE*0/100)*100;
cc:=aa-bb;
dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
ee:=cc3 AND dd0.5 AND OPENLOW;
a1:=LLV(LOW,1);
a2:=IF(LOWa1,0,IF(HIGHa1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));
a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,120),1);
a5:=REF(LLV(CLOSE,120),1);
a6:=100*(CLOSE-a5)/(a4-a5);
a7:=a20 OR a2=1;
a8:=a7 AND a3/REF(a3,3)=3 AND a680;
a9:=REF(a8,1) OR REF(a8,2) OR REF(a8,3) OR REF(a8,4);
a10:=a8 AND a9;
a11:=IF(FILTER(a8,3),5,0);
a12:=IF(FILTER(a10,3) OR ee,10,0);
资金进场日:IF(a11,8,0),LINETHICK0;
STICKLINE(a12,0,15,5,0),colorff00ff;
资金加仓日:IF(a12,88,0),LINETHICK0;
STICKLINE(a12,0,15,5,0),colorff00ff;
STICKLINE(a11,0,5,5,0),colorff7700;
STICKLINE(a11,0,5,4.5,0),colorff8800;
STICKLINE(a11,0,5,4,0),colorff9900;
STICKLINE(a11,0,5,3.5,0),colorffaa00;
STICKLINE(a11,0,5,3,0),colorffbb00;
STICKLINE(a11,0,5,2.5,0),colorffcc00;
STICKLINE(a11,0,5,2,0),colorffdd00;
STICKLINE(a11,0,5,1,0),colorffee00;
STICKLINE(a12,0,15,4.5,0),color102099;
STICKLINE(a12,0,15,4,0),color1020aa;
STICKLINE(a12,0,15,3.5,0),color1020bb;
STICKLINE(a12,0,15,3,0),color1020cc;
STICKLINE(a12,0,15,2.5,0),color1020dd;
STICKLINE(a12,0,15,2,0),color1020ee;
STICKLINE(a12,0,15,1,0),color1020ff;
DRAWTEXT(a11,8, 资金进场
DRAWTEXT(a12,17, 资金加仓 Var1:=(CLOSE*2+HIGH+LOW)/4*10;
Var2:=EMA(Var1,13)-EMA(Var1,34);
Var3:=EMA(Var2,5);
Var4:=2*(Var2-Var3)*5.5;
主力: var4,colorred,LINETHICK2 ;
0,colorwhite;
Var5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
Var6:=EMA(3*Var5-2*SMA(Var5,18,1),5);
Var7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
Var8:=(INDEXC*2+INDEXH+INDEXL)/4;
Var9:=EMA(Var8,13)-EMA(Var8,34);
VarA:=EMA(Var9,3);
VarB:=(Var9-VarA)/2;
资金: VarB,colorgreen,linethick2;
VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
Var10:=(HIGH+LOW+CLOSE)/3;
Var11:=(Var10-MA(Var10,14))/(0.015*AVEDEV(Var10,14));
Var12:=(Var10-MA(Var10,70))/(0.015*AVEDEV(Var10,70));
Var13:=IF(Var11=150 AND Var11200 AND Var12=150 AND Var12200,10,0);
Var14:=IF(Var11=-150 AND Var11-200 AND Var12=-150 AND Var12-200,-10,Var13);
Var15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;
Var16:=100-ABS(Var15);
Var17:=IF(Var1690,Var16,100);
Var1A:=IF(VarE0,VarE,0);
Var1B:=IF(Var12=200 AND Var11=150,15,IF(Var12=-200 AND Var11=-150,-15,Var14))+60;
Var1C:=Var1A48 AND Var1B60 AND Var17100;
DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15, 大笔出货.缩量(低位)则洗. ),linethick1,COLORffcc66;
t1:= Var20 AND COUNT(Var20,30)=1;
t:=COUNT(a8,30)=3 AND COUNT(a10,30)=3;
N:=8;M:=13;P:=60;S:=3;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力开始出: IF(V4=0,V4,0),COLOR00FF00,LINETHICK2;
主力开始进: IF(V4=0,V4,0),COLORFF00FF,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大资金进场: IF(VB=0,VB,0),colorred,LINETHICK2;
大资金撤走: IF(VB=0,VB,0),colorblue,LINETHICK2;
公式解读:
通达信资金控盘度指标
Var1:=(CLOSE+HIGH+LOW)/3;
Var2:=EMA(EMA(EMA(Var1,1),13),21);
控盘度:(Var2-REF(Var2,1))/REF(Var2,1)*100,color5533ff;
强弱分界:0,colorwhite;
Var3:=LLV(LOW,33);
Var4:=HHV(HIGH,17);
Var5:=EMA((CLOSE-Var3)/(Var4-Var3)*100,20)*0.998;
Var6:=EMA(0.667*REF(Var5,1)+0.333*Var5,1);
Var7:=EMA(100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,33)),20);
Var8:=EMA(Var7,1);
Var9:=VOL/CAPITAL*100;
VarA:=SUM(Var9,5)=3;
VarB:=VarA/REF(Var9,10)=2;
VarC:=HHV(CLOSE,5);
VarD:=VarC/REF(CLOSE,5)=1.01;
VarE:=Var820;
VarF:=HIGH/REF(LOW,20)1.2;
Var10:=WINNER(CLOSE)*100;
Var11:=VarAANDVarEANDVarBANDVarFANDVarD;
Var12:=FILTER(Var11,20);
DRAWTEXT(FILTER(Var12,9),-0.15, 庄活动 ),Colorffaabb;
Var13:=EMA(WINNER(CLOSE),20);
Var14:=Var130.85ANDCLOSEMA(CLOSE,5)ANDHHV(HIGH,5)=HHV(HIGH,30)AND(SUM(VOL,10)/CAPITAL0.2ORSUM(VOL,3)/CAPITAL0.1)ORCLOSE/REF(CLOSE,20)=1.9;
DRAWTEXT(FILTER(Var14,9),0.5, 庄出货 ),coloraaff66;
A:=IF((CLOSE126.32),(AMOUNT/100000),VOL);
主力:MA(A,4),LINETHICK0,color00FFFF;
游资:MA(A,8),LINETHICK0,color00FF00;
大户:MA(A,16),LINETHICK0,color0000FF;
:MA(A,32),LINETHICK0,colorFFFF00;
主力比例:CEILING(((主力/(((主力+游资)+大户)+散户))*100)),LINETHICK0,color00FFFF;
游资比例:CEILING(((游资/(((主力+游资)+大户)+散户))*100)),LINETHICK0,color00FF00;
大户比例:CEILING(((大户/(((主力+游资)+大户)+散户))*100)),LINETHICK0,color0000FF;
散户比例:CEILING(((散户/(((主力+游资)+大户)+散户))*100)),LINETHICK0,colorFFFF00;
警戒线:MA(A,180),colorFF00FF;
STICKLINE((主力0),0,主力,8,0),color0000FF;
STICKLINE((主力0),0,主力,7.8,0),color0018FF;
STICKLINE((主力0),0,主力,7.5,0),color001BFF;
STICKLINE((主力0),0,主力,7.3,0),color0022FF;
STICKLINE((主力0),0,主力,7,0),color0035FF;
STICKLINE((主力0),0,主力,6.8,0),color0041FF;
STICKLINE((主力0),0,主力,6.5,0),color0050FF;
STICKLINE((主力0),0,主力,6.3,0),color0059FF;
STICKLINE((主力0),0,主力,6,0),color0062FF;
STICKLINE((主力0),0,主力,5.7,0),color006CFF;
STICKLINE((主力0),0,主力,5.5,0),color007AFF;
STICKLINE((主力0),0,主力,5.3,0),color0080FF;
STICKLINE((主力0),0,主力,5,0),color0089FF;
STICKLINE((主力0),0,主力,4.5,0),color0095FF;
STICKLINE((主力0),0,主力,3.5,0),color009CFF;
STICKLINE((主力0),0,主力,3,0),color00ABFF;
STICKLINE((主力0),0,主力,2.5,0),color00C0FF;
STICKLINE((主力0),0,主力,1.5,0),color00D1FF;
STICKLINE((主力0),0,主力,1,0),color00EAFF;
STICKLINE((主力0),0,主力,0.7,0),color00FFFF;
STICKLINE((游资0),0,游资,8,0),color006800;
STICKLINE((游资0),0,游资,7.8,0),color007F00;
STICKLINE((游资0),0,游资,7,5),color008B00;
STICKLINE((游资0),0,游资,7,3),color008B00;
STICKLINE((游资0),0,游资,7,0),color009000;
STICKLINE((游资0),0,游资,6.8,0),color009500;
STICKLINE((游资0),0,游资,6.5,0),color009C00;
STICKLINE((游资0),0,游资,6.3,0),color00A300;
STICKLINE((游资0),0,游资,6,0),color00AB00;
STICKLINE((游资0),0,游资,5.7,0),color00AF00;
STICKLINE((游资0),0,游资,5.5,0),color00B900;
STICKLINE((游资0),0,游资,5.3,0),color00C000;
STICKLINE((游资0),0,游资,5,0),color00C100;
STICKLINE((游资0),0,游资,4.5,0),color00CA00;
STICKLINE((游资0),0,游资,3.5,0),color00D300;
STICKLINE((游资0),0,游资,3,0),color00DB00;
STICKLINE((游资0),0,游资,2.5,0),color00EA00;
STICKLINE((游资0),0,游资,1.5,0),color00FF00;
STICKLINE((大户0),0,大户,8,0),color102088;
STICKLINE((大户0),0,大户,7,0),color102099;
STICKLINE((大户0),0,大户,6,0),color1020AA;
STICKLINE((大户0),0,大户,5,0),color1020BB;
STICKLINE((大户0),0,大户,4,0),color1020CC;
STICKLINE((大户0),0,大户,3,0),color1020DD;
STICKLINE((大户0),0,大户,2,0),color1020EE;
STICKLINE((大户0),0,大户,1,0),color1020FF;
STICKLINE((大户0),0,大户,8,0),color102088;
STICKLINE((大户0),0,大户,7,0),color102099;
STICKLINE((大户0),0,大户,6,0),color1020AA;
STICKLINE((大户0),0,大户,5,0),color1020BB;
STICKLINE((大户0),0,大户,4,0),color1020CC;
STICKLINE((大户0),0,大户,3,0),color1020DD;
STICKLINE((大户0),0,大户,2,0),color1020EE;
STICKLINE((大户0),0,大户,1,0),color1020FF;
STICKLINE((散户0),0,散户,8,0),colorFF7700;
STICKLINE((散户0),0,散户,7,0),colorFF8800;
STICKLINE((散户0),0,散户,6,0),colorFF9900;
STICKLINE((散户0),0,散户,5,0),colorFFAA00;
STICKLINE((散户0),0,散户,4,0),colorFFBB00;
STICKLINE((散户0),0,散户,3,0),colorFFCC00;
STICKLINE((散户0),0,散户,2,0),colorFFDD00;
STICKLINE((散户0),0,散户,1,0),colorFFEE00;
STICKLINE((散户0),0,散户,8,0),colorFF7700;
STICKLINE((散户0),0,散户,7,0),colorFF8800;
STICKLINE((散户0),0,散户,6,0),colorFF9900;
STICKLINE((散户0),0,散户,5,0),colorFFAA00;
STICKLINE((散户0),0,散户,4,0),colorFFBB00;
STICKLINE((散户0),0,散户,3,0),colorFFCC00;
STICKLINE((散户0),0,散户,2,0),colorFFDD00;