{畫(huà)柱圖};
最大值:=400/(MAX(主力買入,主力買出,超大買入,超大賣出,大單買入,大單賣出,中單買入,中單賣出,散單買入,散單賣出,散凈,中凈,大凈,超凈,主凈));
主力買:=600-(主力買入*最大值);
主力賣:=600-(主力買出*最大值);
超大買:=600-(超大買入*最大值);
超大賣:=600-(超大賣出*最大值);
大戶買:=600-(大單買入*最大值);
大戶賣:=600-(大單賣出*最大值);
中戶買:=600-(中單買入*最大值);
中戶賣:=600-(中單賣出*最大值);
散戶買:=600-(散單買入*最大值);
散戶賣:=600-(散單賣出*最大值);
散戶凈買:=600-(ABS(散凈)*最大值);
中戶凈買:=600-(ABS(中凈)*最大值);
大戶凈買:=600-(ABS(大凈)*最大值);
超大凈買:=600-(ABS(超凈)*最大值);
主力凈買:=600-(ABS(主凈)*最大值);
{各單增減比例顯示}
量比:=(VOL/CAPITAL)*100;{%}
ZLB:=主單買*量比;
ZLS:=主單賣*量比;
主增:=ZLB-ZLS;
TDB:=特單買*量比;
TDS:=特單賣*量比;
超增:=TDB-TDS;
DDB:=大單買*量比;
DDS:=大單賣*量比;
大增:=DDB-DDS;
ZDB:=中單買*量比;
ZDS:=中單賣*量比;
中增:=ZDB-ZDS;
XDB:=散單買*量比;
XDS:=散單賣*量比;
散增:=XDB-XDS;
DRAWRECTREL(330,主力買,350,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(350,主力賣,370,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(370,主力凈買,390,610,(IF((主凈 》= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(445,超大買,465,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(465,超大賣,485,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(485,超大凈買,505,610,(IF((超凈 》= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(560,大戶買,580,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(580,大戶賣,600,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(600,大戶凈買,620,610,(IF((大凈 》= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(675,中戶買,695,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(695,中戶賣,715,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(715,中戶凈買,735,610,(IF((中凈 》= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(790,散戶買,810,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(810,散戶賣,830,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(830,散戶凈買,850,610,(IF((散凈 》= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(330,610,390,655,(IF((主凈 》= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{橫彩條}
DRAWRECTREL(445,610,505,655,(IF((超凈 》= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{橫彩條}
DRAWRECTREL(560,610,620,655,(IF((大凈 》= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{橫彩條}
DRAWRECTREL(675,610,735,655,(IF((中凈 》= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;{橫彩條}
DRAWRECTREL(790,610,850,655,(IF((散凈 》= 0),RGB(255,0,0),RGB(0,255,0)))),COLOR000000,LAYER5;;{橫彩條}
DRAWTEXTREL(310,530,‘主’),ColorDDFFFF;
DRAWTEXTREL(310,600,‘力’),ColorDDFFFF;
DRAWTEXTREL(425,530,‘超’),ColorDDFFFF;
DRAWTEXTREL(425,600,‘大’),ColorDDFFFF;
DRAWTEXTREL(540,530,‘大’),ColorDDFFFF;
DRAWTEXTREL(540,600,‘戶’),ColorDDFFFF;
DRAWTEXTREL(655,530,‘中’),ColorDDFFFF;
DRAWTEXTREL(655,600,‘戶’),ColorDDFFFF;
DRAWTEXTREL(770,530,‘散’),ColorDDFFFF;
DRAWTEXTREL(770,600,‘戶’),ColorDDFFFF;
DRAWTEXTREL(290,660,‘買入’),colorred;
DRAWTEXTREL(290,720,‘賣出’),Color00FF00;
DRAWTEXTREL(290,780,‘凈買’),COLOR00FFFF;
DRAWTEXTREL(290,840,‘增倉(cāng)’),COLORFFFF00;
DRAWTEXTREL(330,660,NUMTOSTRN(主力買入,2)),colorred;
DRAWTEXTREL(330,720,NUMTOSTRN(主力買出,2)),COLOR00FF00;
DRAWTEXTREL(330,780,NUMTOSTRN(主凈,2)),COLOR00FFFF;
DRAWTEXTREL(330,840,NUMTOSTRN(主增,2)+‘%’),COLORFFFF00;
DRAWTEXTREL(445,660,NUMTOSTRN(超大買入,2)),colorred;
DRAWTEXTREL(445,720,NUMTOSTRN(超大賣出,2)),COLOR00FF00;
DRAWTEXTREL(445,780,NUMTOSTRN(超凈,2)),COLOR00FFFF;
DRAWTEXTREL(445,840,NUMTOSTRN(超增,2)+‘%’),COLORFFFF00;
DRAWTEXTREL(560,660,NUMTOSTRN(大單買入,2)),colorred;
DRAWTEXTREL(560,720,NUMTOSTRN(大單賣出,2)),COLOR00FF00;
DRAWTEXTREL(560,780,NUMTOSTRN(大凈,2)),COLOR00FFFF;
DRAWTEXTREL(560,840,NUMTOSTRN(大增,2)+‘%’),COLORFFFF00;
DRAWTEXTREL(675,660,NUMTOSTRN(中單買入,2)),colorred;
DRAWTEXTREL(675,720,NUMTOSTRN(中單賣出,2)),COLOR00FF00;
DRAWTEXTREL(675,780,NUMTOSTRN(中凈,2)),COLOR00FFFF;
DRAWTEXTREL(675,830,NUMTOSTRN(中增,2)+‘%’),COLORFFFF00;
DRAWTEXTREL(790,660,NUMTOSTRN(散單買入,2)),colorred;
DRAWTEXTREL(790,720,NUMTOSTRN(散單賣出,2)),COLOR00FF00;
DRAWTEXTREL(790,780,NUMTOSTRN(散凈,2)),COLOR00FFFF;
DRAWTEXTREL(790,840,NUMTOSTRN(散增,2)+‘%’),COLORFFFF00;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)