通达信【筹码比例变化】副图主力收集筹码股价涨 源码附图

{筹码比例变化源码如下:}

X_1:=IF(CLOSE<REF(CLOSE,1) AND HIGH<REF(LOW,1),REF(LOW,1),HIGH);
X_2:=IF(CLOSE>REF(CLOSE,1) AND LOW>REF(HIGH,1),REF(HIGH,1),LOW);
X_3:=(WINNER(X_1)-WINNER(X_2))*100;
STICKLINE(1,X_3/2,X_3/2,2.5,0),COLORBLUE;
STICKLINE(1,X_3/2,X_3/2,3.2,0),COLOR990000;
STICKLINE(1,X_3/2,(-X_3)/2,2.5,0),COLORCC0000;
STICKLINE(1,X_3/2,(-X_3)/2,1.9,0),COLORFF4400;
STICKLINE(1,X_3/2,(-X_3)/2,1.4,0),COLORFF8800;
STICKLINE(1,X_3/2,(-X_3)/2,0.4,0),COLORFFCC00;
获利出货码:(PWINNER(1,X_2)-WINNER(X_2))*100,POINTDOT,COLOR000099;
套牢割肉码:(WINNER(X_1)-PWINNER(1,X_1))*100,POINTDOT,COLORGREEN;
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;
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),COLORGREEN;
X_4:=90+(100-90)/2;
X_5:=(100-90)/2;
X_6:=COST(X_4);
X_7:=COST(X_5);
X_8:=(X_6-X_7)/(X_6+X_7)*100/2;
筹码集中度:MA(X_8,3),COLORGRAY;
筹码集中度升:IF(筹码集中度>=REF(筹码集中度,3),筹码集中度,DRAWNULL),COLORRED,LINETHICK2;
筹码集中度降:IF(筹码集中度<REF(筹码集中度,3),筹码集中度,DRAWNULL),COLORFAABEC,LINETHICK2;
比例变化:(筹码集中度-REF(筹码集中度,1))/REF(筹码集中度,1)*100,COLORYELLOW,LINETHICK2;
拉高加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(CLOSE,20)>REF(MA(CLOSE,20),3),1,0),COLOR0095FF;
拉高加仓1:STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.7,0),COLOR0095FF;
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),COLORYELLOW;
下跌加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(CLOSE,20)<REF(MA(CLOSE,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),COLORMAGENTA;
底:0;
线1:10,POINTDOT,COLORLIBLUE;
线2:20,POINTDOT,COLORMAGENTA;
X_9:=LLV(LOW,10);
X_10:=HHV(HIGH,25);
支撑线:EMA((CLOSE-X_9)/(X_10-X_9)*4,4),COLORBLUE;
X_11:=支撑线>REF(支撑线,1) AND 支撑线<1.5;
X_12:=MA(CLOSE,3);
X_13:=HIGH>X_12*1.1;
买进:FILTER(CROSS(CLOSE,X_12) AND X_11,5),STICK,COLOR0099FF,LINETHICK3;
DRAWICON(FILTER(CROSS(CLOSE,X_12) AND X_11,5),10,35);
卖出:FILTER(X_13 AND 支撑线>3,10),STICK,COLORFFAA66,LINETHICK3;
DRAWICON(FILTER(X_13 AND 支撑线>3,10),1.5,36);





{筹码比例买进F源码如下:}


X_1:=LLV(LOW,10);
X_2:=HHV(HIGH,25);
X_3:=EMA((CLOSE-X_1)/(X_2-X_1)*4,4);
X_4:=X_3>REF(X_3,1) AND X_3<1.5;
X_5:=MA(CLOSE,3);
买进:FILTER(CROSS(CLOSE,X_5) AND X_4,5);



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:PWINNER
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图