通达信3D筹码盘点指标公式
通达信3D筹码盘点指标公式:
P:=90;
HH:=IF(C<REF(C,1) AND H<REF(L,1),REF(L,1),H);
LL:=IF(C>REF(C,1) AND L>REF(H,1),REF(H,1),L);
穿越筹码:=(WINNER(HH)-WINNER(LL))*100,COLORBLUE;
STICKLINE(1,穿越筹码/2,穿越筹码/2,2.5,0),COLORBLUE;
STICKLINE(1,穿越筹码/2,穿越筹码/2,3.2,0),COLOR990000;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,2.5,0),COLORCC0000;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.9,0),COLORFF4400;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.4,0),COLORFF8800;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,0.4,0),COLORFFCC00;
获利出货码:(PWINNER(1,LL)-WINNER(LL))*100,POINTDOT,COLORRED;
STICKLINE(获利出货码>0,0,获利出货码,2.5,0),COLORRED;
STICKLINE(获利出货码>0,0,获利出货码,2.8,0)COLOR000066;
STICKLINE(获利出货码>0,0,获利出货码,2.3,0)COLOR000077;
STICKLINE(获利出货码>0,0,获利出货码,1.7,0)COLOR000099;
STICKLINE(获利出货码>0,0,获利出货码,1.2,0)COLOR0000CC;
STICKLINE(获利出货码>0,0,获利出货码,0.1,0)COLORCC66FF;
套牢割肉码:(WINNER(HH)-PWINNER(1,HH))*100,POINTDOT,COLORGREEN;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.5,0),COLORGREEN;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,3.2,0),COLOR007700;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.8,0),COLOR009900;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.1,0),COLOR00BB00;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,1.6,0),COLOR00DD00;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,0.4,0),COLOR00FF00;
A:=P+(100-P)/2;
B:=(100-P)/2;
CC:=COST(A);
DD:=COST(B);
CMJZD:=(CC-DD)/(CC+DD)*100/2;
筹码集中度:MA(CMJZD,3),COLORRED;
筹码集中升:IF(筹码集中度>=REF(筹码集中度,3),筹码集中度,DRAWNULL),COLOR000099,LINETHICK2;
筹码集中降:IF(筹码集中度<REF(筹码集中度,3),筹码集中度,DRAWNULL),COLOR009900,LINETHICK2;
比例变化:(筹码集中度-REF(筹码集中度,1))/REF(筹码集中度,1)*100,COLORWHITE,LINETHICK2;
拉高加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(C,20)>REF(MA(C,20),3),1,0),COLOR0093FF;
拉高加仓1:STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.7,0),COLOR0035FF;
STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.1,0),COLOR0064FF;
STICKLINE(拉高加仓>0,0,筹码集中度*0.33,1.5,0),COLOR0093FF;
STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.9,0),COLOR00C2FF;
STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.3,0),COLOR00FFFF;
下跌加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(C,20)<REF(MA(C,20),3),1,0),COLORFF0066;
下跌加仓1:STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0033;
STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0066;
STICKLINE(下跌加仓>0,0,筹码集中度*0.33,1.5,0),COLORFF0099;
STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.9,0),COLORFF00CC;
STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.3,0),COLORFF00FF;
底:0;
线1:10,COLORWHITE,POINTDOT;
线2:20,COLORFF00FF,POINTDOT;
通达信3D筹码盘点指标公式实例图解:
通达信3D筹码盘点指标公式