大智慧筹码分布线公式 源码
-
相关简介:大智慧筹码分布线公式 源码 A := DISPSTATUS=2; K1:COSTB(100); DRAWTEXT(A AND K1,K1,NUMTOSTRN(K1,2)),ColorRED; K2:COSTB(95); DRAWTEXT(A AND K2,K2,NUMTOSTRN(K2,2)),ColorYELLOW; K3:COSTB(80); DRAWTEXT(A AND K3,K3,NUMTOSTRN(K3,2)),ColorEA91B5; K4:COSTB(70); DRAWTEXT(A
-
文章来源:股海网作者:股海网发布时间:2015-07-20浏览次数:
大智慧筹码分布线公式 源码
A := DISPSTATUS=2;
K1:COSTB(100);
DRAWTEXT(A AND K1,K1,NUMTOSTRN(K1,2)),ColorRED;
K2:COSTB(95);
DRAWTEXT(A AND K2,K2,NUMTOSTRN(K2,2)),ColorYELLOW;
K3:COSTB(80);
DRAWTEXT(A AND K3,K3,NUMTOSTRN(K3,2)),ColorEA91B5;
K4:COSTB(70);
DRAWTEXT(A AND K4,K4,NUMTOSTRN(K4,2)),ColorEA91B5;
K5:COSTB(50);
DRAWTEXT(A AND K5,K5,NUMTOSTRN(K5,2)),ColorEA91B5;
{STICKLINE(CLOSE>K2,o,c,10,0) ,colorred;
STICKLINE(CLOSE<K5,h,l,10,0) ,colorblue;
STICKLINE(CLOSE>K5 and CLOSE<K2,o,c,10,0), coloryellow;
{A1:=amount*(bigorder(1,2)-bigorder(2,2))/10000;
A5:=sum(A1,5);
A10:=sum(A1,10);
A20:=sum(A1,20);
drawtextrel(5,10,'今日资金流入:'+numtostrn(A1,1)+'万'),colorwhite;
drawtextrel(5,50,'5日 资金流入:'+numtostrn(A5,1)+'万'),colorgreen;
drawtextrel(5,90,'10日资金流入:'+numtostrn(A10,1)+'万'),coloryellow;
drawtextrel(5,130,'20日资金流入:'+numtostrn(A20,1)+'万'),colorred;}
{基本信息}
【上市年】:=REF(YEAR,BARSCOUNT(C)-1);
【月】:=REF(MONTH,BARSCOUNT(C)-1);
【日】:=REF(DAY,BARSCOUNT(C)-1);
DRAWTEXTREL(1,16,'■上市日期:'+NUMTOSTRN(【上市年】,0)+'年'+NUMTOSTRN(【月】,0)+'月'+NUMTOSTRN(【日】,0)+'日'+' 上市后总交易天数:'+NUMTOSTRN(BARSCOUNT(C),0)+'天 '),ColorAAEEEE,LINETHICK1;
DRAWTEXTABS(1,29,'■主营业务:'+SELFSTRING('主营业务')),color00D7FF;
DRAWTEXTABS(1,50,'■主题投资:'+SELFSTRING('主题投资库')),COLOR00A5FF;
DRAWTEXTABS(1,72,'■所属板块:'+' '+BKNAME),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(1,96,'■流通盘:'+capital/1000000+'亿'),COLORred,linethick1;
DRAWTEXTABS(1,116,'■行业:'+SELFSTRING('行业')),colorAAEEEE;
if inblock('融资融券')
then DRAWTEXTABS(1,156,'融资融券'),COLORcyan,linethick1;