量是第一--絕妙精倫的公式(副圖 源碼)
各位版主,按照意思編一公式,總覺還不完全反映以下精髓,請大家合力修改。用于炒短線。
1)量增價平,轉陽信號;2)量增價升,買入信號:3)量平價升,持續(xù)買入;4)量減價升,繼續(xù)持有:
5)量減價平,警戒信號;6)量減價跌,賣出信號:7)量平價跌,繼續(xù)賣出;8)量增價跌,棄賣觀望:
《量是第一的》
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;
續(xù)趨勢: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;