VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交:=VOL,POINTDOT; 主買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/10000,COLORWHITE,POINTDOT; 主賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))/10000,COLOR00FF00,POINTDOT; 流入:IF((主買盤)-(-主賣盤)>0,(主買盤)-(-主賣盤),DRAWNULL),LINETHICK1,COLORRED; 流出:IF((主買盤)-(-主賣盤)<0,(主買盤)-(-主賣盤),DRAWNULL),LINETHICK1,COLOR00FF00; 三凈量:SUM(流入,3),LINETHICK1,COLORYELLOW; 中軸:0,COLORGRAY; 壓力:MA(REF(HHV(三凈量,30),1),2),COLORWHITE,LINETHICK1 DOTLINE; |
|