K23:=(K20>0 OR K20=1) AND K22>=3;
K24:=REF((K23 AND K21<80),1) OR REF((K23 AND K21<80),2) OR REF((K23 AND K21<80),3) OR REF((K23 AND K21<80),4);
K25:=IF(FILTER(K23 AND K21<80,3),5,0);
K26:=IF(FILTER(K23 AND K21<80 AND K24,3),10,0);www.web0773.net
DRAWTEXT(K25,5,'進(jìn)場(chǎng)'),COLOR00FFFF;
DRAWTEXT(K26,3,'加倉(cāng)'),COLORFF0000;
K27:=(SMA(MAX((CLOSE-REF(CLOSE,1)),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1));
K28:=(((2*CLOSE+HIGH)+LOW)/4)-LLV(LOW,34);
K29:=(K28/(HHV(HIGH,34)-LLV(LOW,34)))*100;
K30:=0.667*REF(EMA(K29,6),1)+0.333*EMA(K29,6);
K31:=CLOSE<(DYNAINFO(6)/REF(LLV(CLOSE,120),1));
K32:=COUNT(CLOSE0.3;
K33:=COUNT(EMA(K29,6)>EMA(K30,4),3);
K34:=REF(LOW,1)=LLV(LOW,120);
K35:=K32 AND K33 AND K34 AND CLOSE>OPEN;
K36:=IF(K35,1,0) AND CROSS(K27*100,15);
DRAWTEXT(K36,2,'★底'),COLORFF00FF;
K37:=K1*10>=2 AND MOD(CURRENTTIME,2)=0;
DRAWTEXTABS(320,-12,IFS(K37,'關(guān) 注',' ')),COLORFFFF00;
K38:=K1*10>=2 AND MOD(CURRENTTIME,2)=1;
DRAWTEXTABS(320,-12,IFS(K38,'關(guān) 注 買 賣 總 量',' ')),COLORFFFF00;
{動(dòng)態(tài)買賣,部分要L2支持}
a1:=(VOL/CLOSE)/3;
a2:=SUM((IF(((a1>40) AND (CLOSE>(REF(CLOSE,1)))),a1,0)),0);
a3:=SUM((IF(((a1>40) AND (CLOSE<(REF(CLOSE,1)))),a1,0)),0);
a4:=SUM((IF(((a1<40) AND (CLOSE>(REF(CLOSE,1)))),a1,0)),0);
a5:=SUM((IF(((a1<40) AND (CLOSE<(REF(CLOSE,1)))),a1,0)),0);
a6:=((a2+a3)+a4)+a5;
a7:=IF((BARSTATUS=2),((100*a2)/a6),0);
a8:=((IF((BARSTATUS=2),((100*a3)/a6),0)));
a9:=((IF((BARSTATUS=2),((100*a4)/a6),0)));
a10:=((IF((BARSTATUS=2),((100*a5)/a6),0)));
機(jī)構(gòu)買盤:(a2),linethick3,ColorFF55FF;
機(jī)構(gòu)賣盤:(a3),linethick3,ColorFFFF55;
散戶買盤:(a4),Color5555FF;
散戶賣盤:(a5),Color55FF55;
DRAWTEXTREL(1003,870,'機(jī)構(gòu)買盤'),linethick2,ColorRED;
DRAWTEXTREL(1003,570,'機(jī)構(gòu)賣盤'),linethick2,ColorGREEN;
DRAWTEXTREL(1003,320,'散戶買盤'),linethick2,Color5555FF;
DRAWTEXTREL(1003,50,'散戶賣盤'),linethick2,Color55FF55;
if ((BARSTATUS=2) ) Then DRAWTEXTREL(1020,750,''+FLOOR(a7)+'%'),linethick2,ColorRED;
if ((BARSTATUS=2) ) Then DRAWTEXTREL(1020,460,''+FLOOR(a8)+'%'),linethick2,ColorGREEN;
if ((BARSTATUS=2) ) Then DRAWTEXTREL(1020,200,''+FLOOR(a9)+'%'),linethick2,Color5555FF;
if ((BARSTATUS=2) ) Then DRAWTEXTREL(1020,-50,''+FLOOR(a10)+'%'),linethick2,Color55FF55;
機(jī)構(gòu)買單數(shù):SUM(NOTICE(15),0),linethick0,COLORRED;
機(jī)構(gòu)賣單數(shù):SUM(NOTICE(16),0),linethick0,COLORGREEN;
機(jī)構(gòu)吃貨數(shù):SUM(NOTICE(17),0),linethick0,COLORRED;
機(jī)構(gòu)吐貨數(shù):SUM(NOTICE(18),0),linethick0,COLORGREEN;
機(jī)構(gòu)吃貨量:=DYNAINFO(104);
機(jī)構(gòu)吐貨量:=DYNAINFO(105);
大筆買入數(shù):=SUM(NOTICE(5),0);
大筆賣出數(shù):=SUM(NOTICE(6),0);
大筆買入量:"DBMMY.大筆總買#tick",PRECIS0,linethick3,COLORRED;
大筆賣出量:"DBMMY.大筆總賣#tick",PRECIS0,linethick3,COLORyellow;
最大值:=400/(max(機(jī)構(gòu)吃貨量,機(jī)構(gòu)吐貨量));
AA:=600-(機(jī)構(gòu)吃貨量*最大值);
drawrectrel(200,AA,350,610,rgb(200,0,0)),color000000,layer5;
BB:=600-(機(jī)構(gòu)吐貨量*最大值);
DRAWRECTREL(350,BB,500,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWTEXTREL(280,640,'機(jī)構(gòu)吃貨量:'),colorred;
DRAWTEXTREL(280,800,'機(jī)構(gòu)吐貨量:'),Color00FF00;
DRAWTEXTREL(420,640,NUMTOSTRN(機(jī)構(gòu)吃貨量,2)),colorred;
DRAWTEXTREL(420,800,NUMTOSTRN(機(jī)構(gòu)吐貨量,2)),COLOR00FF00;
DRAWTEXTREL(550,640,'大筆買入數(shù):'),color8800ff;
DRAWTEXTREL(550,800,'大筆賣出數(shù):'),Coloryellow;
DRAWTEXTREL(690,640,NUMTOSTRN(大筆買入數(shù),1)),color8800FF;
DRAWTEXTREL(690,800,NUMTOSTRN(大筆賣出數(shù),1)),COLORyellow;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)