成交量公式(通达信)

富贵花开(通达信)

成交量:=vol/100,VOLstICK;

VAR1:=成交量/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),成交量/2)),NODRAW;

主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- VAR1*(HIGH-LOW),0-成交量/2)),NODRAW;

STICKLINE(成交量>0,成交量,0,2.5,0),COLORCYAN;

STICKLINE(主买>0,0,主买,2.5,0),COLORRED;

主持仓:EMA(100*(CLOSE- LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;

主集中度:WINNER(C)*100,COLORRED;

散集中度: (WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN;

地量:=成交量<LLV(成交量,14)*1.001;

买卖差:(主买+主卖),NODRAW,COLORYELLOW;

买卖比:(主买/主卖),NODRAW,COLORYELLOW;

换手率:=VOL/CAPITAL*100;

换手55:SUM(换手率,55),NODRAW,COLORLICYAN;

买卖差55:SUM(买卖差,55),NODRAW,COLORGRAY;

量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))>1,1,(AMOUNT/C) /(HHV(AMOUNT,20)/HHV(C,20)))*100,COLORYELLOW,NODRAW;

中点:=REFDATE(HHV(EMA(买卖差,9),120),DATE)*2;

STICKLINE(CURRBARSCOUNT=19,中点*1.9,中点*1.5,120,1),COLOR00DDDD;

STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.88,中点*1.52,量能饱和度*1.2,0),COLOR0033FF;

STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.82,中点*1.58,量能饱和度*1.2,0),COLOR0077FF;

STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.76,中点*1.64,量能饱和度*1.2,0),COLOR0099FF;

STICKLINE(CONST(C>O)=1 AND CURRBARSCOUNT=19,中点*1.7,中点*1.7,量能饱和度*1.2,0),COLOR00ddfF;

STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.88,中点*1.52,量能饱和度*1.2,0),COLORFF7700;

STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.82,中点*1.58,量能饱和度*1.2,0),COLORFF9900;

STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.76,中点*1.64,量能饱和度*1.2,0),COLORFFBB00;

STICKLINE(CONST(C<O)=1 AND CURRBARSCOUNT=19,中点*1.71,中点*1.69,量能饱和度*1.2,0),COLORCYAN;

DRAWTEXT(CURRBARSCOUNT=22,中点*2.3,'量能饱和度'),COLORYELLOW;

持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),NODRAW,COLOR000099;

V2:=IF(CURRBARSCOUNT=1,成交量*240/FROMOPEN/REF(成交量,1)-1,成交量/REF(成交量,1)-1);

STICKLINE(成交量>0,成交量,0,2,1),COLORWHITE;

STICKLINE(主买>成交量/2,0,成交量,2,0),COLORYELLOW;

STICKLINE(主买<=成交量/2,0,成交量,2,0),COLORWHITE;

STICKLINE(主买>0,0,主买,2,0),COLORRED;

STICKLINE(主卖<0,0,主卖,2,0),COLOR00FF00;

STICKLINE(地量>0,0,成交量,1,0),COLORMAGENTA;

STICKLINE(V2>=1,成交量,0,1,0),COLORYELLOW;

平衡价区间统计(通达信)