展開全部
A1:=(VOL/CLOSE)/3;
{A222:=IF(A1>0.29 AND CLOSE>REF(CLOSE,1),A1,0);}
{A22:=SUM(A222,0);}
A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISNULL(REFX(&CLOSE,1))),((100*A2)/A6),0);
A8:=((IF((ISNULL(REFX(&CLOSE,1))),((100*A3)/A6),0)));
A9:=((IF((ISNULL(REFX(&CLOSE,1))),((100*A4)/A6),0)));
A10:=((IF((ISNULL(REFX(&CLOSE,1))),((100*A5)/A6),0)));
機構買盤:(A2),LINETHICK3,COLORFF55FF;
機構賣盤:(A3),LINETHICK3,COLORFFFF55;
散戶買盤:(A4),COLOR5555FF;
散戶賣盤:(A5),COLOR55FF55;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),機構買盤*0.9,"機構買盤"),LINETHICK2,COLORFF55FF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),機構賣盤,"機構賣盤"),LINETHICK2,COLORFFFF55;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),散戶買盤,"散戶買盤"),LINETHICK2,COLOR5555FF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),散戶賣盤,"散戶賣盤"),LINETHICK2,COLOR55FF55;
{已測試,複製可直接引用,如果回答滿意,請記得給採納}
展開全部
A1:=(VOL/CLOSE)/3;
{A222:=IF(A1>0.29 AND CLOSE>REF(CLOSE,1),A1,0);}
{A22:=SUM(A222,0);}
A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISNULL(REFX(&CLOSE,1))),((100*A2)/A6),0);
A8:=((IF((ISNULL(REFX(&CLOSE,1))),((100*A3)/A6),0)));
A9:=((IF((ISNULL(REFX(&CLOSE,1))),((100*A4)/A6),0)));
A10:=((IF((ISNULL(REFX(&CLOSE,1))),((100*A5)/A6),0)));
機構買盤:(A2),LINETHICK3,COLORFF55FF;
機構賣盤:(A3),LINETHICK3,COLORFFFF55;
散戶買盤:(A4),COLOR5555FF;
散戶賣盤:(A5),COLOR55FF55;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),機構買盤*0.9,"機構買盤"),LINETHICK2,COLORFF55FF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),機構賣盤,"機構賣盤"),LINETHICK2,COLORFFFF55;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),散戶買盤,"散戶買盤"),LINETHICK2,COLOR5555FF;
DRAWTEXT(ISNULL(REFX(&CLOSE,1)),散戶賣盤,"散戶賣盤"),LINETHICK2,COLOR55FF55;
{已測試,複製可直接引用,如果回答滿意,請記得給採納}