筹码指标源码荟萃19页word文档Word文件下载.docx
《筹码指标源码荟萃19页word文档Word文件下载.docx》由会员分享,可在线阅读,更多相关《筹码指标源码荟萃19页word文档Word文件下载.docx(14页珍藏版)》请在冰豆网上搜索。
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〉MANDHHV(获利,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,pointdotcoloryellow;
DX20:
20,pointdotcolorgreen;
Var1:
=LLV(LOW,21);
=HHV(HIGH,21);
K:
EMA((CLOSE-Var1)/(Var2-Var1)☆100,8),colormagenta;
D:
EMA(0.667☆REF(K,1)+0.333☆K,2),coloryellow;
=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.1ANDSUM(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;
{个股活筹}
=SMA(AMOUNT,10,1)/10000000;
=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);
{筹码K线}
STICKLINE(close〉=open,open,close,8,0),colormagenta;
STICKLINE(close〉=open,close,HIGH,0.5,0),colormagenta;
STICKLINE(close〉=open,open,low,0.5,0),colormagenta;
STICKLINE(open〉=close,close,open,8,0),COLORCYAN;
STICKLINE(open〉=close,close,LOW,0.5,0),COLORCYAN;
STICKLINE(open〉=close,open,HIGH,0.5,0),COLORCYAN;
成本集中度:
(COST(95)-COST(5))/(COST(95)+COST(5))☆100,LINETHICK0;
生命:
MA(C,15),coloryellow;
顶:
COST(95);
拉升:
COST(75);
控盘:
COST(30);
主力:
COST(4);
底:
COST(0.05);
=WINNER(C);
=DMA(V1,V/CAPITAL);
=DMA(V,V/CAPITAL)/CAPITAL;
=V1/V3;
=V2/V3;
STICKLINE(V4〉V5AND100☆WINNER(C)〉50,C,O,8,1),coloryellow;
=100☆WINNER(C☆0.95);
STICKLINE(V6〉50ANDCOST(85)〈C,C,O,8,1),colorred;
STICKLINE(V6〉50ANDCOST(85)〈C,C,O,2.5,0),colorred;
{筹码量级}
w:
sma(winner(c),3,1)☆100linethick1,ColorFF8080;
sma(winner(c),10,1)☆100,Colorgreen;
PARTLINE(1,100),ColorFF8080,SHIFT6;
PARTLINE(1,1),ColorFF8080,SHIFT6;
PARTLINE(1,50),ColorFF8080,SHIFT6;
w1:
if(w〉=10,w,0)linethick0,ColorFFFFFF;
w2:
if(w〉=1andw〈10,w☆10,0)linethick0,Color00FFFF;
w3:
if(w〉=0.1andw〈1,w☆100,0)linethick0,ColorFFFF00;
w4:
if(w〉=0.01andw〈0.1,w☆1000,0)linethick0,ColorFF80FF;
w5:
if(w〉=0.001andw〈0.01,w☆10000,0)linethick0,colorblue;
w6:
if(w〉=0.0001andw〈0.001,w☆100000,0)linethick0,Color00FF00;
w7:
if(w〉=0.00001andw〈0.0001,w☆1000000,0)linethick0,ColorFF00FF;
STICKLINE(w1,0,w1,0.1,1),ColorFFFFFF;
STICKLINE(w2,0,w2,3,1),Color00FFFF;
STICKLINE(w3,0,w3,3,1),ColorFFFF00;
STICKLINE(w4,0,w4,6,1),ColorFF80FF;
STICKLINE(w5,0,w5,6,1),colorblue;
STICKLINE(w6,0,w6,6,1),Color00FF00;
STICKLINE(w7,0,w7,6,1),ColorFF00FF;
STICKLINE(w☆100=0,0,36,8,1),Colorred;
PARTLINE(w1,w1),ColorFFFFFF;
DRAWTEXT(barslast(w1=0)=1,0,'
1'
),ColorFFFFFF;
DRAWTEXT(barslast(w2=0)=1,0,'
2'
),Color00FFFF;
DRAWTEXT(barslast(w3=0)=1,0,'
3'
),ColorFFFF00;
DRAWTEXT(barslast(w4=0)=1,0,'
4'
),ColorFF80FF;
DRAWTEXT(barslast(w5=0)=1,0,'
5'
),colorblue;
DRAWTEXT(barslast(w6=0)=1,0,'
6'
),Color00FF00;
DRAWTEXT(barslast(w7=0)=1,0,'
7'
),ColorFF00FF;
DRAWTEXT(barslast(w☆100=0)=1,0,'
8'
),Colorred;
{筹码运动}
VAR1:
=EMA((WINNER(C☆1.1)-WINNER(C☆0.9))☆80,1);
主筹:
EMA(WINNER(C)☆70,1),COLORRED,LINETHICK1;
主筹月均:
EMA(主筹,21),COLORWHITE;
主筹长期成本:
EMA(EMA(主筹,5),89),color009500;
筹差值:
VAR1-主筹,COLORYELLOW;
VAR2:
=IF(C〉=O,H,0);
VAR3:
=IF(C〈=O,REF(H,1),VAR2);
VAR4:
=IF(C〉=O,V,0);
VAR5:
=IF(C〈=O,REF(V,1),VAR4);
VAR6:
=COUNT(VAR3〉REF(VAR3,1)ANDVAR5〈REF(VAR5,1),3)〉=2ANDC〉O;
量价背离:
VAR6☆30,STICK,COLORGRAY,LINETHICK2;
{筹码最高值线}
黄色为最高值我认为N=13或者N=75比较好
蓝色为布林线
看看把最高值改为最低值,将是很好的抄底指标
N(13,13,13);
Var1m:
=AMOUNT/(100☆v);
日趋势:
=MA(Var1m,5);
最高值日日:
HHV(日趋势,N),COLORYELLOW,linethick2;
黄日趋势:
MA(Var1m,9),COLORYELLOW;
a:
=ma(a,3);
a21:
=ma(a,6);
a31:
=ma(a,12);
a41:
=ma(a,24);
BBI:
=(a1+a21+a31+a41)/4;
a11:
=ema(a,3);
上轨:
BBI+3☆STD(BBI,18),COLORBLUE,linethick2;
下轨:
BBI-3☆STD(BBI,18),COLORBLUE,linethick2;
趋势:
MA(Var1m,135);
{筹码密集}
=COST(89)-COST(11);
=COST(99.9)-COST(0.1);
单峰:
(1-Var1/Var2)☆100;
低密:
=(COST(90)-COST(60))/Var2☆100;
高密:
(COST(40)-COST
(1))/Var2☆100;
赢利:
SMA(WINNER(AMOUNT/VOL/99)☆100,2,1),COLOR00FF00;
DRAWICON(cross(赢利,单峰),单峰,8);
DRAWICON(cross(赢利,高密),高密,8);
DRAWTEXT(cross(赢利,单峰),单峰☆0.9,'
突破'
{筹码参考}
FILLRGN(c〉1,100,0),color999999;
KDCM:
=100☆(1-WINNER(C));
FILLRGN(c〉1,KDCM,0),colorCCFF66;
DDCM:
=100☆WINNER(C);
FILLRGN(c〉1,DDCM,0),colorCCCCFF;
{活筹指数}
{活筹即增量资金,活筹在熊市中,是把握大盘波段的利器。
揭示市场资金的进场与离场是最基本用法,而其相对大盘指
数的顶底背离形态,更是判断大判顶底的可靠依据。
var1:
=SMA(AMOUNT,12,1)/10000000;
=MA(REF(收盘价,1),5);
开:
Var1☆OPEN/Var3,LINETHICK0;
高:
Var1☆最高价/Var3,LINETHICK0;
低:
Var1☆最低价/Var3,LINETHICK0;
收:
Var1☆收盘价/Var3,LINETHICK0;
P涨跌:
(收-REF(收,1))/REF(收,1)☆100,LINETHICK0;
stickline(收〈=开,收,开,8,0),COLORGREEN;
stickline(收〈=开,高,低