VAR11:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
成交量:=VOL,LINETHICK0;
主动买盘:=IF(CLOSE>OPEN,VAR11*(HIGH-LOW),IF(CLOSE<OPEN,VAR11*
((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
主动卖盘:=IF(CLOSE>OPEN,0-VAR11*((HIGH-CLOSE)+(OPEN-LOW)),
IF(CLOSE<OPEN,0-VAR11*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
{STICKLINE(主动卖盘<0,0,-主动卖盘,2,0),COLORLIGREEN;}
主买线:(IF(CLOSE>OPEN,VAR11*(HIGH-LOW),IF(CLOSE<OPEN,VAR11*
((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)))/IF(FINANCE(7)>200000000,100000,20000),LINETHICK2,COLORLIRED;
主买比值:(IF(CLOSE>OPEN,VAR11*(HIGH-LOW),IF(CLOSE<OPEN,VAR11*
((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)))/VOL,COLORRED;
量:V/IF(FINANCE(7)>200000000,100000,20000),COLORGREEN;
买涨:0,COLORRED;
STICKLINE(V>=REF(V,1) AND 主买比值>REF(主买比值,1) AND C>=REF(C,1),0,0.15,1,0),COLORRED;
{- }
续趋势:V<=REF(V,1) AND 主买比值>REF(主买比值,1) AND C>REF(C,1),STICK,COLORLIRED;
出货:主买比值<REF(主买比值,1) AND C>REF(C,1),STICK,COLORMAGENTA;
卖出:V<=REF(V,1) AND C<REF(C,1),STICK,COLORGREEN;
有庄进货:0,COLORYELLOW;
STICKLINE((V<=REF(V,1) AND 主买比值>REF(主买比值,1) AND 1.01>C/REF(C,1)>0.99
) OR (V>=REF(V,1) AND 1.01>C/REF(C,1)>0.99
),0,0.2,1,0),COLORYELLOW;