通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
筹码分析指标公式
VAR1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240);
VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);
VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
VARA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);
VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;
VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);
VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);
固定筹码:
EMA((VAR1-VAR3)/VAR3*VAR4,13);
移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);
多空对比:
固定筹码-移动筹码, COLORSTICK;
VAR13:=VAR7=-0.035 AND VAR7=0.045 AND
CLOSEMA(CLOSE,5)
AND CLOSEMA(CLOSE,10) AND 多空对比-100;
大黑马:
IF(VAR13 AND VAR127 AND REF(VAR12,1)0
AND
VAR12-REF(VAR12,1)9,1,0),LINETHICK3 ,
COLOR00FFFF;
STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,
COLOR00FFFF;
DRAWICON(大黑马,固定筹码*1.1,5);
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colormagenta,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;
弱分界: 0,coloryellow;
筹码分析指标公式源码选股
主力持仓: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
A:= IF(CLOSE126.32,AMOUNT/100000,VOL);
主力: MA(A,4),colormagenta,LINETHICK1;
游资: MA(A,8),colorgreen,LINETHICK1;
大户: MA(A,16),color1100ff,LINETHICK1;
散户: MA(A,32),coloree99cc,LINETHICK1;
主: (主力/(主力+游资+大户+散户)*100),colormagenta,linethick1;
游: (游资/(主力+游资+大户+散户)*100),colorgreen,linethick1;
大: (大户/(主力+游资+大户+散户)*100),color1100ff,linethick1;
散: (散户/(主力+游资+大户+散户)*100),coloree99cc,linethick1;
STICKLINE(主力0,0,主力,8,0),colormagenta;
STICKLINE(主力0,0,主力,7.8,0),colormagenta;
STICKLINE(主力0,0,主力,7.5,0),colormagenta;
STICKLINE(主力0,0,主力,7.3,0),colormagenta;
STICKLINE(主力0,0,主力,7,0),colormagenta;
STICKLINE(主力0,0,主力,6.8,0),colormagenta;
STICKLINE(主力0,0,主力,6.5,0),colormagenta;
STICKLINE(主力0,0,主力,6.3,0),colormagenta;
STICKLINE(主力0,0,主力,6,0),colormagenta;
STICKLINE(主力0,0,主力,5.7,0),colormagenta;
STICKLINE(主力0,0,主力,5.5,0),colormagenta;
STICKLINE(主力0,0,主力,5.3,0),colormagenta;
STICKLINE(主力0,0,主力,5,0),colormagenta;
STICKLINE(主力0,0,主力,4.5,0),colormagenta;
STICKLINE(主力0,0,主力,3.5,0),Color009CFF;
STICKLINE(主力0,0,主力,3,0),colormagenta;
STICKLINE(主力0,0,主力,2.5,0),colormagenta;
STICKLINE(主力0,0,主力,1.5,0),colormagenta;
STICKLINE(主力0,0,主力,1,0),colormagenta;
STICKLINE(主力0,0,主力,0.7,0),colormagenta;
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),color1100ff;
STICKLINE(大户0,0,大户,7,0),color1100ff;
STICKLINE(大户0,0,大户,6,0),color1100ff;
STICKLINE(大户0,0,大户,5,0),color1100ff;
STICKLINE(大户0,0,大户,4,0),color1100ff;
STICKLINE(大户0,0,大户,3,0),color1100ff;
STICKLINE(大户0,0,大户,2,0),color1100ff;
STICKLINE(大户0,0,大户,1,0),color1100ff;
STICKLINE(大户0,0,大户,8,0),color1100ff;
STICKLINE(大户0,0,大户,7,0),color1100ff;
STICKLINE(大户0,0,大户,6,0),color1100ff;
STICKLINE(大户0,0,大户,5,0),color1100ff;
STICKLINE(大户0,0,大户,4,0),color1100ff;
STICKLINE(大户0,0,大户,3,0),color1100ff;
STICKLINE(大户0,0,大户,2,0),color1100ff;
STICKLINE(大户0,0,大户,1,0),color1100ff;
STICKLINE(散户0,0,散户,8,0),colorblack;
STICKLINE(散户0,0,散户,7,0),colorblack;
STICKLINE(散户0,0,散户,6,0),colorblack;
STICKLINE(散户0,0,散户,5,0),colorblack;
STICKLINE(散户0,0,散户,4,0),colorblack;
STICKLINE(散户0,0,散户,3,0),colorblack;
STICKLINE(散户0,0,散户,2,0),colorblack;
STICKLINE(散户0,0,散户,1,0),colorblack;
STICKLINE(散户0,0,散户,8,0),colorblack;
STICKLINE(散户0,0,散户,7,0),colorblack;
STICKLINE(散户0,0,散户,6,0),colorblack;
STICKLINE(散户0,0,散户,5,0),colorblack;
STICKLINE(散户0,0,散户,4,0),colorblack;
STICKLINE(散户0,0,散户,3,0),colorblack;
STICKLINE(散户0,0,散户,2,0),colorblack;
STICKLINE(散户0,0,散户,1,0),colorblack;
VUR0:=(((((2 * OPEN) + HIGH) + LOW) + (3 * CLOSE)) / 7);
VUR1:=(CAPITAL * VUR0);
VUR2:=(SMA(AMOUNT,10,1) / 1000);
VUR3:=MA((CLOSE * 3),5);
VUR4:=((((VUR2 * (CLOSE * 3)) / VUR3) * 1) / 10);
VUR5:=((((VUR2 * (OPEN * 3)) / VUR3) * 1) / 10);
VUR6:=((((VUR2 * (HIGH * 3)) / VUR3) * 1) / 10);
VUR7:=((((VUR2 * (LOW * 3)) / VUR3) * 1) / 10);
VUR8:=(((((2 * VUR5) + VUR6) + VUR7) + (3 * VUR4)) / 7);
VUR9:=EMA(DMA(EMA(VUR4,2),(SUM(VOL,1) * VUR8)),2);
VURA:=EMA((VUR1 – VUR9),1);
VU1:=IF((VURA REF(VURA,1)),((VURA – REF(VURA,1)) * 15 / 1000),0);
VU2:=IF((VURA REF(VURA,1)),((VURA – REF(VURA,1)) * 15 / 1000),0);
VU3:=SUM(VU1,15);
VU4:=EMA(VU3,10);
VU5:=REF(VU4,1);
VU6:=EMA(CLOSE,13);
VU7:=(VU6 REF(VU6,1));
VU8:=(VU7 AND (VU4 VU5));
VU9:=(SUM(VU2,21) * (0 – 1));
VUA:=EMA(EMA(VU9,5),8);
VUB:=REF(VUA,1);
VUC:=EMA(CLOSE,3);
VUD:=(VUC REF(VUC,1));
VUE:=(VUC REF(VUC,1));
VUF:=((VU4 VU5) AND VUD);
VUG:=((VU4 VU5) AND VUE);
VUH:=((VU6 REF(VU6,1)) AND (VUA VUB));
VUN:=IF(VU8,VUR0,0);
VUK:=IF(VUH,((VUR0 + HIGH) / 2),0);
吸筹:VU5,colormagenta;
STICKLINE(VU8,VU5,(VU4 * 1.3),6,1),colormagenta;
吐筹:VUB,colorgreen;
STICKLINE(VUH,VUB,(VUA * 1.2),6,1),colorgreen;
Var1=MONEY/VOL;
A=SMA(Var1,5,1)-SMA(Var1,55,1);
B=SMA((A-SMA(A,5,1)),5,1);
风险系数:=B;
aa:=MA(CLOSE,5);
非红:=IF(REF(CLOSE,1)REF(aa,1) OR REF(A,1)REF(A,2) OR REF(B,1)REF(B,2),1,2);
当红:=IF(CLOSEMA(CLOSE,5) AND AREF(A,1) AND BREF(B,1),1,2);
LOWV1:=LLV(LOW,8);
HIGHV1:=HHV(HIGH,8);
RSV1:=EMA((CLOSE-LOWV1)/(HIGHV1-LOWV1)*100,3);
K11:=EMA(RSV1,3);
D11:=MA(K11,2);
LOWV2:=LLV(LOW,21);
HIGHV2:=HHV(HIGH,21);
RSV2:=EMA((CLOSE-LOWV2)/(HIGHV2-LOWV2)*100,3);
K22:=EMA(RSV2,3);
D22:=MA(K22,2);
V5:=MA(V,5);
V18:=MA(V,18);
IF(VV5 AND VV18)
Ll:=6.5;
ELSE Ll:=0;
IF(D11REF(D11,1))
dx:=2.1;
ELSE dx:=0;
IF(D1125)
dz:=7.6;
ELSE IF(D1128)
dz:=6.1;
ELSE IF(D1131)
dz:=4.6;
ELSE IF(D1135)
dz:=3.1;
ELSE IF(D1140)
dz:=1.6;
IF(D2225)
dz2:=7.6;
ELSE IF(D2228)
dz2:=6.1;
ELSE IF(D2231)
dz2:=4.6;
ELSE IF(D2235)
dz2:=3.1;
ELSE IF(D2240)
dz2:=1.6;
zz:=Ll+dx+dz+dz2;
SELECT 非红=1 AND 当红=1 AND zz16 AND CO*0.985 AND CREF(C,1)*0.98 AND CREF(C,1)*1.072 AND CREF(C,3)*1.15 ;
引用 :通达信超牛筹码资金指标公式 – 知乎
评论(0)