■多頭:0,COLOR0000FF;STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF; □空頭:0,COLORFF937F;STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),COLORFF937F; VAR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交總量:VOL,POINTDOT; 主買:IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE<OPEN,VAR0*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT; VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); 買盤:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))); 主買占%:買盤/100000,COLORRED,NODRAW; 主賣:IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR0*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT; 賣盤:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2)))); 主賣占%:-賣盤/100000,COLOR00FF00,POINTDOT,NODRAW; 震動調(diào)整:=(買盤 + 賣盤); STICKLINE((震動調(diào)整 < 1),1,震動調(diào)整,3,0),COLOR70DB93; 買賣量差%:((買盤)+(賣盤))/100000,COLORFF00FF; STICKLINE((買賣量差% < 0),0,買賣量差%,3,0),COLORWHITE,LINETHICK0; VAR2:=(HIGH - LOW); VAR3:=ABS((OPEN - CLOSE)); |
|