各位版主,按照意思编一公式,总觉还不完全反映以下精髓,请大家合力修改。用于炒短线。
1)量增价平,转阳信号;2)量增价升,买入信号:3)量平价升,持续买入;4)量减价升,继续持有:
5)量减价平,警戒信号;6)量减价跌,卖出信号:7)量平价跌,继续卖出;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;
续趋势: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;
201010711211231281.jpg
|