通达信王牌筹码分布副图指标公式源码

[复制链接]
查看198 | 回复0 | 2021-8-28 00:32:14 | 显示全部楼层 |阅读模式

以下是通达信王牌筹码分布副图指标公式源码(无源码的请下载附件导入)

筹码是不会骗人的,大家慢慢研究,颜色有些花,源码提供,可以自己改一下自己喜欢的颜色。

获利盘:WINNER(C)*100,COLORYELLOW,NODRAW;
活筹:(WINNER(C*1.075)-WINNER(C*0.925))*100,COLORFFFFFF,NODRAW;
获利纵横:获利盘-活筹,NODRAW,COLORMAGENTA;
换手率:VOL/CAPITAL*100,COLORWHITE,NODRAW;
{预测换手:IF(CURRBARSCOUNT=1 AND PERIOD=5,换手率*240/FROMOPEN,DRAWNULL),NODRAW;}
量比:DYNAINFO(17),NODRAW,COLORWHITE;
{主力仓位:WINNER(C/1.20)*100,COLORWHITE,NODRAW;}
ZLCM:=EMA(WINNER(C)*70,3);
SHCM:=EMA((WINNER(C*1.10)-WINNER(C*0.90))*80,3);
主力控盘系数:(ZLCM/(ZLCM+SHCM))*100,COLORYELLOW,NODRAW;
【穿筹量】:(WINNER(CLOSE)-REF(WINNER(C),1))*100,NODRAW,COLORMAGENTA;
{STICKLINE(1,COST(99.99),COST(90),6,0),COLORRED;
STICKLINE(1,COST(90),COST(80),6,0),COLORGREEN;
STICKLINE(1,COST(80),COST(70),6,0),COLORMAGENTA;
STICKLINE(1,COST(70),COST(60),6,0),COLORYELLOW;
STICKLINE(1,COST(60),COST(50),6,0),COLORCYAN;
STICKLINE(1,COST(50),COST(40),6,0),COLORRED;
STICKLINE(1,COST(40),COST(30),6,0),COLORGREEN;
STICKLINE(1,COST(30),COST(20),6,0),COLORMAGENTA;
STICKLINE(1,COST(20),COST(10),6,0),COLORYELLOW;
STICKLINE(1,COST(10),COST(0.01),6,0),COLORCYAN;}
 
DRAWBAND(COST(99.99),RGB(250,0,0),COST(90),RGB(250,0,0));
DRAWBAND(COST(90.00),RGB(0,250,0),COST(80.00),RGB(0,250,0));
DRAWBAND(COST(80.00),RGB(200,110,250),COST(70.00),RGB(200,100,250));
DRAWBAND(COST(70.00),RGB(250,200,0),COST(60.00),RGB(250,200,0));
DRAWBAND(COST(60.00),RGB(0,150,250),COST(50.00),RGB(0,150,250));
DRAWBAND(COST(50.00),RGB(250,0,0),COST(40.00),RGB(0,250,0));
DRAWBAND(COST(40.00),RGB(0,250,0),COST(30.00),RGB(0,250,0));
DRAWBAND(COST(30.00),RGB(200,110,250),COST(20.00),RGB(200,110,250));
DRAWBAND(COST(20.00),RGB(250,200,0),COST(10.00),RGB(250,200,0));
DRAWBAND(COST(10.00),RGB(0,150,250),COST(00.01),RGB(0,150,250));
 
顶筹价:COST(99.99),COLORRED,LINETHICK2;
中筹价:COST(50),COLORRED,LINETHICK2;
底筹价:COST(0.01),COLORCYAN,LINETHICK2;
收盘价:C,COLORBLUE,LINETHICK2;
 
今日波幅:=100*(DYNAINFO(5)-DYNAINFO(6))/DYNAINFO(6);
今日价差:=DYNAINFO(5)-DYNAINFO(6);
DRAWTEXT_FIX(1,0.000,0.000,0,STRCAT(STRCAT('今日最大振幅: ',CON2STR(今日波幅,2)),' %')),COLORWHITE;DRAWTEXT_FIX(C>O,0,0.06,0,'

DRAWTEXT_FIX(1,0.120,0.000,0,STRCAT(STRCAT('今日高低价差: ',CON2STR(今日价差,2)),' 元')),COLORWHITE;

224122201.jpg

224122201.jpg

2241211801.png

2241211801.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则