筹码分布的两个函数:获利盘比率winner(x)=n%;和筹码分布cost(n)=x;互为反函数。
如果从不同的角度来描述,可以更清楚的看出它们的意义。
取X=C 即收盘价(当前价),则:
1、winner(c)=n%; 表达的是以收盘价C卖出,而能获利的最大筹码量为流通盘的N%;
2、反过来也同样成立,即:cost(n)=c; 表达的是:使流通盘的n%的筹码 完全获利的最低价为C;
基于这样的理解,我们可以得出几个有意思的公式。这些公式对判断底部有一定的帮助。
一、区间集中度 cmjwinner(c*(1+m%))-winner(c*(1-m%)))*100;
cmj的含义是:收盘价C附近(上下各m%)的筹码量(%);
M的取值范围一般为 2~10;
二、获利倍数 cmbcost(n)/cost(0)-1)*100;
cmb的含义是:N%的筹码中的任意一部份,以当前价 卖出时所能得到的最大收益(%);
N的取值范围一般为10~90;
三、盈亏幅度 ykfc/cost(n)-1)*100;
ykf的含义是N%的筹码中的任意一部份 以 当前价 卖出时的最大盈亏幅度(%);
N的取值范围一般为5~10;
需要说明的是:筹码分布是一个统计概念,由于市场的千变万化,人们的交易行为不会只受到一种或几种思维方式的支配,因此不可能仅用一两种模式就能完整地描述市场的真实情况。也就是说 其必然存在着局限性。从实际的情况看这种局限性还非常严重。在使用时仅仅只能做为一种参考。
{筹码低位密集线}
x1:POLYLINE(c〈COST(50),COST(1)),COLOR008800;
x3:POLYLINE(c〈COST(50),COST(3)),COLOR008800;
x5:POLYLINE(c〈COST(50),COST(5)),COLOR008800;
x7:POLYLINE(c〈COST(50),COST(7)),COLOR008800;
x9:POLYLINE(c〈COST(50),COST(9)),COLOR008800;
十:POLYLINE(c〈COST(50),COST(10)),POINTDOT,COLOR008800;
x11:POLYLINE(c〈COST(50),COST(11)),COLOR66CC00;
x31:POLYLINE(c〈COST(50),COST(13)),COLOR66CC00;
x51:POLYLINE(c〈COST(50),COST(15)),COLOR66CC00;
x71:POLYLINE(c〈COST(50),COST(17)),COLOR66CC00;
x91:POLYLINE(c〈COST(50),COST(19)),COLOR66CC00;
二十:POLYLINE(c〈COST(50),COST(20)),POINTDOT,COLOR66CC00;
x12:POLYLINE(c〈COST(50),COST(21)),COLORff9933;
x32:POLYLINE(c〈COST(50),COST(23)),COLORff9933;
x52:POLYLINE(c〈COST(50),COST(25)),COLORff9933;
x72:POLYLINE(c〈COST(50),COST(27)),COLORff9933;
x92:POLYLINE(c〈COST(50),COST(29)),COLORff9933;
三十:POLYLINE(c〈COST(50),COST(30)),POINTDOT,COLORff9933;
x13:POLYLINE(c〈COST(50),COST(31)),COLOR008800;
x33:POLYLINE(c〈COST(50),COST(33)),COLOR008800;
x53:POLYLINE(c〈COST(50),COST(35)),COLOR008800;
x73:POLYLINE(c〈COST(50),COST(37)),COLOR008800;
x93:POLYLINE(c〈COST(50),COST(39)),COLOR008800;
四十:POLYLINE(c〈COST(50),COST(40)),POINTDOT,COLOR008800;
x14:POLYLINE(c〉0,COST(41)),COLOR33cc00;
x34:POLYLINE(c〉0,COST(43)),COLOR33cc00;
x54:POLYLINE(c〉0,COST(45)),COLOR33cc00;
x74:POLYLINE(c〉0,COST(47)),COLOR33cc00;
x94:POLYLINE(c〉0,COST(49)),COLOR33cc00;
COST(50),COLORYELLOW,CIRCLEDOT;
STICKLINE(c〉=o,c,o,9,1),colorred;
STICKLINE(c〉=o,l,o,0.1,0),colorred;
STICKLINE(c〉=o,c,h,0.1,0),colorred;
STICKLINE(c〈o,c,o,9,0),colorffff00;
STICKLINE(c〈o,h,l,0.1,0),colorffff00;
{“三丰诱空”分解}
获利盘:WINNER(C)☆100,COLORRED;
二十天获利盘最高:HHV(获利盘,20);
乖离:ema((100+获利盘-二十天获利盘最高),3);
挖坑线:乖离,linethick2;
成本乖离:(c/cost(50)-1)☆100,linethick1;
{筹码盈亏}
input:N(13,13,13),M(5,5,5);
Var2:= WINNER(CLOSE☆1.1)☆100;
Var3:= WINNER(CLOSE☆0.9)☆100;
获利: MA(Var3,N), colorwhite;
STICKLINE(1, 0, 获利, 1, 0), colorred;
套牢:= 100-MA(Var2,N);
STICKLINE(1, 100, MA(Var2,N), 1, 0), colorgreen;
HH: 100-套牢,colorwhite;
浮动:= MA(Var2,N)-MA(Var3,N);
STICKLINE(1, 获利, MA(Var2,N), 1, 0), coloryellow;
var4:= (HHV(获利,15)-var3)/var3☆100〉M AND HHV(获利,15)〉50;
STICKLINE(var4,-2, 2,10,0),COLORGREEN;
STICKLINE(not(var4),-2, 2,10,0),COLORBLUE;
{筹码统计}
HSL:=EMA(V/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
锁定筹码:EMA((HSL-ZXL)/ZXL☆XS,13);
浮动筹码:EMA((ZDL-HSL)/HSL☆XS,13);
力量对比:锁定筹码-浮动筹码,COLORSTICK;
{筹码空间}
筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)☆100,20),VOLSTICK;
TX80:80,pointdot coloryellow;
DX20:20,pointdot colorgreen;
Var1:=LLV(LOW,21);
Var2:=HHV(HIGH,21);
K: EMA((CLOSE-Var1)/(Var2-Var1)☆100,8),colormagenta ;
D: EMA(0.667☆REF(K,1)+0.333☆K,2),coloryellow;
Var3:=LLV(LOW,55);
Var4:=HHV(HIGH,34);
Var5:=EMA((CLOSE-Var3)/(Var4-Var3)☆100,3);
Var6:=(K+Var5)/2;
Var7:=EMA(0.667☆REF(Var5,1)+0.333☆K,2);
Var8:=EMA(Var6,5);
Var9:EMA(0.667☆REF(Var8,1)+0.333☆Var8,2);
{空头筹码多头筹码}
空头筹码:100☆(1-WINNER(C)),COLORGREEN,linethick2;
多头筹码:100☆WINNER(C),COLORRED,linethick2;
获利平均值:EMA(100☆WINNER(C),20),coloryellow,linethick2;
获利99 := ma(COST(99 ),5);
获利80:=ma(cost(80),5);
均线5日:= ma(c,5);
获利20:=ma(cost(20),5);
获利1 :=ma(cost(1),5);
a1:=(获利99-获利80)/获利80☆100;
a2:=(获利80-获利20)/获利20☆100;
aa3:=(获利20-获利1)/获利1☆100;
a4:=IF(a2〈10 ,100 ,0 );
a5:=IF(a2〈15 ,50 ,0 );
a6:=IF(a2〈20 ,25 ,0 );
密集度:a2,colorFF0000,linethick2;
高密集:a4,color0000FF,linethick2;
中密集:a5,colorFF00FF,linethick2;
低密集:a6,color00FF00,linethick2;
{筹码跟踪}
获利筹码:EMA(WINNER(C)☆70,5),ColorD98EF1;
亏损筹码:EMA((WINNER(C☆1.1)-WINNER(C☆0.9))☆80,5),ColorF3FF00;
stickline(获利筹码〈亏损筹码 and 亏损筹码〈60,亏损筹码,55,1,0),ColorF3FF00;
stickline(获利筹码〉亏损筹码,亏损筹码,50,1,0),colorred;
主力控筹:If(获利筹码〉亏损筹码,获利筹码, 0),POINTDOT,colorred;
stickline(获利筹码〈亏损筹码,获利筹码,0,0,0),ColorD98EF1;
AI:=AMOUNT/VOL/100;
C0:=REF(C,2)☆0.865;
C1:=REF(C,13)☆0.772;
DSY:=100☆vol/CApitAl;
抄底:If((C-MIN(C0,C1))/C〈0.1 AND SUM(DSY,5)/5〈1.8,10, 0),Color00FF00;
灾区:stickline(获利筹码〈10,亏损筹码,亏损筹码+5,2,0),POINTDOT,ColorFF009D;
重灾区:stickline(获利筹码〈5,亏损筹码,亏损筹码+8,2,0),POINTDOT,Color970000;
stickline(抄底,0,30,4,0),Color00FF00;
0,ColorFFFFFF;
{筹码转移}
V1:=REF(C,5);
V2:=REF(WINNER(C)☆100,5);
V3:=WINNER(V1)☆100;
筹转5: V2-V3;
V4:=REF(C,10);
V5:=REF(WINNER(C)☆100,10);
V6:=WINNER(V4)☆100;
筹转10: V5-V6;
V7:=REF(C,20);
V8:=REF(WINNER(C)☆100,20);
V9:=WINNER(V7)☆100;
筹转20: V8-V9;
VA:=REF(C,30);
VB:=REF(WINNER(C)☆100,30);
VC:=WINNER(VA)☆100;
筹转30: VB-VC;//FZ穿越筹码
IF((WINNER(C)-WINNER(O))☆100/(V☆100/CAPITAL)〉0,(WINNER(C)-WINNER(O))☆100/(V☆100/CAPITAL),0)☆100,,COLORCYAN;
IF((WINNER(C)-WINNER(O))☆100/(V☆100/CAPITAL)〈0,(WINNER(C)-WINNER(O))☆100☆V☆100/CAPITAL,0)☆100,,COLOR5050FF;
穿越筹码: (WINNER(C)-WINNER(O))☆100,POINTDOT;
{个股活筹}
Var1:=SMA(AMOUNT,10,1)/10000000;
Var2:=REF(Var1,1);
AA: STICKLINE(Var1〉Var2,Var1,Var2,8,1),COLORRED;
AD: STICKLINE(Var1〈Var2,Var1,Var2,8,0),COLORGREEN;
C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL);
C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL);
C34:DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL);
∞: DMA(Var1,VOL/1.1/CAPITAL); |