付费版大智慧才能用的分类持仓图副图公式
-
相关简介:付费版大智慧才能用的分类持仓图副图公式 说明:此图一般免费版的大智慧用户不用显示数据. 散户:SELFDATA('散户持仓'),linethick0; 中户:SELFDATA('中户持仓'),linethick0; 大户:SELFDATA('大户持仓'),linethick0; 法人:SELFDATA('法人持仓'),linethick0; 机构:SELFDATA('机构持仓'),linethick0; 帐户数:SELFDATA('帐户数'),linethick0; 散户数:SELFDATA('
-
文章来源:股海网作者:股海网发布时间:2013-03-22浏览次数:
付费版大智慧才能用的分类持仓图副图公式
说明:此图一般免费版的大智慧用户不用显示数据.
散户:SELFDATA('散户持仓'),linethick0;
中户:SELFDATA('中户持仓'),linethick0;
大户:SELFDATA('大户持仓'),linethick0;
法人:SELFDATA('法人持仓'),linethick0;
机构:SELFDATA('机构持仓'),linethick0;
帐户数:SELFDATA('帐户数'),linethick0;
散户数:SELFDATA('散户数'),linethick0;
机构户数:SELFDATA('机构户数'),linethick0;
散户增减:=散户-ref(散户,3);
中户增减:=中户-ref(中户,5);
大户增减:=大户-ref(大户,3);
法人增减:=法人-ref(法人,10);
机构增减:=机构-ref(机构,5);
散中和:(散户+中户),linethick2;
大法机和:(大户+法人+机构),coloryellow,linethick2;
SZ:=(散中和-ref(散中和,1))*10;
DFJ:=(大法机和-ref(大法机和,1))*10;
S3:=ref(散户,3);
Z3:=ref(中户,3);
D3:=ref(大户,3);
F3:=ref(法人,3);
J3:=ref(机构,3);
S5:=ref(散户,5);
Z5:=ref(中户,5);
D5:=ref(大户,5);
F5:=ref(法人,5);
J5:=ref(机构,5);
S10:=ref(散户,10);
Z10:=ref(中户,10);
D10:=ref(大户,10);
F10:=ref(法人,10);
J10:=ref(机构,10);
S20:=ref(散户,20);
Z20:=ref(中户,20);
D20:=ref(大户,20);
F20:=ref(法人,20);
J20:=ref(机构,20);
S30:=ref(散户,30);
S60:=ref(散户,60);
S90:=ref(散户,90);
S120:=ref(散户,120);
Z30:=ref(中户,30);
Z60:=ref(中户,60);
Z90:=ref(中户,90);
Z120:=ref(中户,120);
D30:=ref(大户,30);
D60:=ref(大户,60);
D90:=ref(大户,90);
D120:=ref(大户,120);
F30:=ref(法人,30);
F60:=ref(法人,60);
F90:=ref(法人,90);
F120:=ref(法人,120);
J30:=ref(机构,30);
J60:=ref(机构,60);
J90:=ref(机构,90);
J120:=ref(机构,120);
帐户数3:=ref(帐户数,3);
帐户数5:=ref(帐户数,5);
帐户数10:=ref(帐户数,10);
帐户数20:=ref(帐户数,20);
帐户数30:=ref(帐户数,30);
帐户数60:=ref(帐户数,60);
帐户数90:=ref(帐户数,90);
帐户数120:=ref(帐户数,120);
散户数60:=ref(散户数,60);
散户数3:=ref(散户数,3);
散户数5:=ref(散户数,5);
散户数10:=ref(散户数,10);
散户数20:=ref(散户数,20);
散户数30:=ref(散户数,30);
散户数90:=ref(散户数,90);
散户数120:=ref(散户数,120);
机构户数3:=ref(机构户数,3);
机构户数5:=ref(机构户数,5);
机构户数10:=ref(机构户数,10);
机构户数20:=ref(机构户数,20);
机构户数30:=ref(机构户数,30);
机构户数60:=ref(机构户数,60);
机构户数90:=ref(机构户数,90);
机构户数120:=ref(机构户数,120);
BL3:=400/MAX(S3,Z3,D3,F3,J3);
BL5:=400/MAX(S5,Z5,D5,F5,J5);
BL10:=400/MAX(S10,Z10,D10,F10,J10);
BL20:=400/MAX(S20,Z20,D20,F20,J20);
DRAWRECTREL(0,0,530,999,RGB(30,40,40));
S3B:=999-S3*BL3;
Z3B:=999-Z3*BL3;
D3B:=999-D3*BL3;
F3B:=999-F3*BL3;
J3B:=999-J3*BL3;
S5B:=999-S5*BL5;
Z5B:=999-Z5*BL5;
D5B:=999-D5*BL5;
F5B:=999-F5*BL5;
J5B:=999-J5*BL5;
S10B:=999-S10*BL10;
Z10B:=999-Z10*BL10;
D10B:=999-D10*BL10;
F10B:=999-F10*BL10;
J10B:=999-J10*BL10;
S20B:=999-S20*BL20;
Z20B:=999-Z20*BL20;
D20B:=999-D20*BL20;
F20B:=999-F20*BL20;
J20B:=999-J20*BL20;
{画直方图}
DRAWTEXTREL(80,5,'散户'),color00ff00;
DRAWTEXTREL(160,5,'中户'),color003399;
DRAWTEXTREL(240,5,'大户'),colorffaa66;
DRAWTEXTREL(320,5,'法人'),color0099ff;
DRAWTEXTREL(400,5,'机构'),colorred;
DRAWTEXTREL(480,5,'帐户数'),color00ffff;
DRAWTEXTREL
本帖隐藏的内容需要回复才可以浏览
(30,70,'今日'),colorddffff;
DRAWTEXTREL(80,70,NUMTOSTRN(散户,2)), color00ff00;
DRAWTEXTREL(160,70,NUMTOSTRN(中户,2)), color003399;
DRAWTEXTREL(240,70,NUMTOSTRN(大户,2)), colorffaa66;
DRAWTEXTREL(320,70,NUMTOSTRN(法人,2)), color0099ff;
DRAWTEXTREL(400,70,NUMTOSTRN(机构,2)), colorred;
DRAWTEXTREL(460,70,NUMTOSTRN(帐户数,2)), color00ffff;
DRAWTEXTREL(30,140,'3日'), colorddffff;
DRAWTEXTREL(80,140,NUMTOSTRN(S3,2)), color00ff00;
DRAWTEXTREL(160,140,NUMTOSTRN(Z3,2)), color003399;
DRAWTEXTREL(240,140,NUMTOSTRN(D3,2)), colorffaa66;
DRAWTEXTREL(320,140,NUMTOSTRN(F3,2)), color0099ff;
DRAWTEXTREL(400,140,NUMTOSTRN(J3,2)), colorred;
DRAWTEXTREL(460,140,NUMTOSTRN(帐户数3,2)), color00ffff;
DRAWTEXTREL(30,210,'5日'), colorddffff;
DRAWTEXTREL(80,210,NUMTOSTRN(S5,2)), color00ff00;
DRAWTEXTREL(160,210,NUMTOSTRN(Z5,2)), color003399;
DRAWTEXTREL(240,210,NUMTOSTRN(D5,2)), colorffaa66;
DRAWTEXTREL(320,210,NUMTOSTRN(F5,2)), color0099ff;
DRAWTEXTREL(400,210,NUMTOSTRN(J5,2)), colorred;
DRAWTEXTREL(460,210,NUMTOSTRN(帐户数5,2)), color00ffff;
DRAWTEXTREL(30,280,'10日'), colorddffff;
DRAWTEXTREL(80,280,NUMTOSTRN(S10,2)), color00ff00;
DRAWTEXTREL(160,280,NUMTOSTRN(Z10,2)), color003399;
DRAWTEXTREL(240,280,NUMTOSTRN(D10,2)), colorffaa66;
DRAWTEXTREL(320,280,NUMTOSTRN(F10,2)), color0099ff;
DRAWTEXTREL(400,280,NUMTOSTRN(J10,2)), colorred;
DRAWTEXTREL(460,280,NUMTOSTRN(帐户数10,2)), color00ffff;
DRAWTEXTREL(30,350,'20日'), colorddffff;
DRAWTEXTREL(80,350,NUMTOSTRN(S20,2)), color00ff00;
DRAWTEXTREL(160,350,NUMTOSTRN(Z20,2)), color003399;
DRAWTEXTREL(240,350,NUMTOSTRN(D20,2)), colorffaa66;
DRAWTEXTREL(320,350,NUMTOSTRN(F20,2)), color0099ff;
DRAWTEXTREL(400,350,NUMTOSTRN(J20,2)), colorred;
DRAWTEXTREL(460,350,NUMTOSTRN(帐户数20,2)),color00ffff;
DRAWTEXTREL(30,420,'30日'), colorddffff;
DRAWTEXTREL(80,420,NUMTOSTRN(S30,2)), color00ff00;
DRAWTEXTREL(160,420,NUMTOSTRN(Z30,2)), color003399;
DRAWTEXTREL(240,420,NUMTOSTRN(D30,2)), colorffaa66;
DRAWTEXTREL(320,420,NUMTOSTRN(F30,2)), color0099ff;
DRAWTEXTREL(400,420,NUMTOSTRN(J30,2)), colorred;
DRAWTEXTREL(460,420,NUMTOSTRN(帐户数30,2)),color00ffff;
DRAWTEXTREL(30,490,'60日'), colorddffff;
DRAWTEXTREL(80,490,NUMTOSTRN(S60,2)), color00ff00;
DRAWTEXTREL(160,490,NUMTOSTRN(Z60,2)), color003399;
DRAWTEXTREL(240,490,NUMTOSTRN(D60,2)), colorffaa66;
DRAWTEXTREL(320,490,NUMTOSTRN(F60,2)), color0099ff;
DRAWTEXTREL(400,490,NUMTOSTRN(J60,2)), colorred;
DRAWTEXTREL(460,490,NUMTOSTRN(帐户数60,2)),color00ffff;
DRAWTEXTREL(30,560,'90日'), colorddffff;
DRAWTEXTREL(80,560,NUMTOSTRN(S90,2)), color00ff00;
DRAWTEXTREL(160,560,NUMTOSTRN(Z90,2)), color003399;
DRAWTEXTREL(240,560,NUMTOSTRN(D90,2)), colorffaa66;
DRAWTEXTREL(320,560,NUMTOSTRN(F90,2)), color0099ff;
DRAWTEXTREL(400,560,NUMTOSTRN(J90,2)),colorred;
DRAWTEXTREL(460,560,NUMTOSTRN(帐户数90,2)),color00ffff;
DRAWTEXTREL(30,630,'120日'), colorddffff;
DRAWTEXTREL(80,630,NUMTOSTRN(S120,2)), color00ff00;
DRAWTEXTREL(160,630,NUMTOSTRN(Z120,2)), color003399;
DRAWTEXTREL(240,630,NUMTOSTRN(D120,2)), colorffaa66;
DRAWTEXTREL(320,630,NUMTOSTRN(F120,2)), color0099ff;
DRAWTEXTREL(400,630,NUMTOSTRN(J120,2)),colorred;
DRAWTEXTREL(460,630,NUMTOSTRN(帐户数120,2)),color00ffff;
机构成本:SELFDATA('机构成本'),linethick0;
DRAWTEXTABS(420,10,'机构成本:'+NUMTOSTRN(机构成本,3)+'元'),colormagenta;
DRAWTEXTABS(420,30,'大法机和:'+NUMTOSTRN(大法机和,3)),colormagenta;
DRAWTEXTABS(420,50,'散中和:'+NUMTOSTRN(散中和,3)),colormagenta;
DRAWTEXTABS(420,90,'散户数:'+NUMTOSTRN(散户数,3)),colormagenta;
DRAWTEXTABS(420,110,'散户数5:'+NUMTOSTRN(散户数5,3)),colormagenta;
DRAWTEXTABS(420,130,'散户数10:'+NUMTOSTRN(散户数10,3)),colormagenta;
DRAWTEXTABS(420,150,'散户数20:'+NUMTOSTRN(散户数20,3)),colormagenta;
DRAWTEXTABS(420,170,'散户数30:'+NUMTOSTRN(散户数30,3)),colormagenta;
DRAWTEXTABS(420,190,'散户数60:'+NUMTOSTRN(散户数60,3)),colormagenta;
DRAWTEXTABS(420,210,'散户数90:'+NUMTOSTRN(散户数90,3)),colormagenta;
DRAWTEXTABS(420,230,'散户数120:'+NUMTOSTRN(散户数120,3)),colormagenta;
DRAWTEXTABS(540,10,'机构户数:'+NUMTOSTRN(机构户数,3)),colormagenta;
DRAWTEXTABS(540,30,'机构户数3:'+NUMTOSTRN(机构户数3,3)),colormagenta;
DRAWTEXTABS(540,50,'机构户数5:'+NUMTOSTRN(机构户数5,3)),colormagenta;
DRAWTEXTABS(540,70,'机构户数10:'+NUMTOSTRN(机构户数10,3)),colormagenta;
DRAWTEXTABS(540,90,'机构户数20:'+NUMTOSTRN(机构户数20,3)),colormagenta;
DRAWTEXTABS(540,110,'机构户数60:'+NUMTOSTRN(机构户数60,3)),colormagenta;
DRAWTEXTABS(540,130,'机构户数90:'+NUMTOSTRN(机构户数90,3)),colormagenta;
DRAWTEXTABS(540,150,'机构户数120:'+NUMTOSTRN(机构户数120,3)),colormagenta;