MA2:=MA(VOL,10),COLORWHITE;
MA3:=MA(VOL,20),COLORWHITE;
MA4:=MA(VOL,40),COLORMAGENTA;
换手:=V*100/CAPITAL;
{---------------------------------------------------}
新股成交量:IF(BARSCOUNT(CLOSE)<40,VOL,DRAWNULL),VOLSTICK;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量(手):VOL,COLORWHITE,LINETHICK0;
调整周期:IF(MA1
WWWFXJGSWCOM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
虚拟成交量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
放量上涨:C/REF(C,1)>=1.01 AND V/REF(V,1)>=1.5 AND V>MA(V,5) AND REF(V,1)/REF(MA(V,5),1)<=1.8,NODRAW;
{-------------------------------------------------------------}
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟成交量,0,4,-1),COLOR00C0C0;
主动买盘:=IF(C>OPEN,AA*(HIGH-LOW),IF(C
STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,2.5,0),COLOR0000BB ;
STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1.5,0),COLOR0000CC ;
STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1,0),COLOR0000EE;
STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR7B7B00;
STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR909000;
STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLORA8A800;
STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLORCECE00;
STICKLINE(主动买盘>主动卖盘 AND MA1
底:=LLV(V,90);
地:=底+(顶-底)*0.06;
下:=底+(顶-底)*0.28;
中:=底+(顶-底)*0.50;
上:=底+(顶-底)*0.75;
【金】:REFDATE(地,DATE),COLOR00FFFF;
【银】:REFDATE(下,DATE),COLORFFFFFF;
【铜】:REFDATE(中,DATE),COLORLIRED;
【铁】:REFDATE(上,DATE),COLORRED;
【顶】:REFDATE(HHV(V,90),DATE),COLORCYAN;