通达信九天成交量指标公式

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
Vvol:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
{N天最大量:TOPRANGE(V);}
流通市值Z:(FINANCE(46)*C)/100000000;
流通市值:FINANCE(40)/100000000;
流通股:CAPITAL/1000000;
换手Z:VOL*10000/FINANCE(46),NODRAW;
过半换手:换手Z>=50,COLORRED,NODRAW;
STICKLINE(过半换手,0,VOL*0.85,1,0),COLORRED;
死亡换手:换手Z>=70,COLORGREEN,NODRAW;
STICKLINE(死亡换手,0,VOL*0.9,2,0),COLORGREEN;
最高值:HHV(换手Z,240);
高换手:=(换手Z>=REF(最高值,1));
DRAWTEXT(高换手,VOL,'高换'),COLORWHITE;
VOLUME:VOL,VOLSTICK;
神渔启动:MA(VOLUME,250),DOTLINE,LINETHICK1,COLORWHITE;
多方量:=IF(C>REF(C,1),VOL,0);
阶段最大多方量:REF(HHV(多方量,21),1),COLOR00FFFF,DOTLINE;
成交额:=AMOUNT/10000,NODRAW,COLORRED;
量变:=(VOL/REF(VOL,1)-1)*100,NODRAW;
量昨比:VOL/REF(VOL,1);
量比:=V/REF(MA(V,5),1),COLORWHITE,NODRAW;
五换:SUM(换手Z,5),NODRAW,COLORWHITE;
二十换:SUM(换手Z,20),NODRAW,COLORWHITE;
倍量:=VOL>=REF(VOL,1)*1.9,COLORYELLOW,NODRAW;
DRAWTEXT(倍量,0.5,'倍'),COLORYELLOW;
倍缩:=REF(VOL,1)>=VOL*1.9,COLORMAGENTA,NODRAW;
DRAWTEXT(倍缩,VOL,'缩'),COLORMAGENTA;
百低:=VOL=LLV(VOL,100) AND BARSCOUNT(VOL)>=100,COLORCYAN,NODRAW;
DRAWTEXT(百低,VOL,'百低'),COLORCYAN;
平量:=(RANGE(VOL/REF(VOL,1),0.9,1.1) AND BARSCOUNT(VOL)>=2),COLORWHITE,NODRAW;
DRAWTEXT(平量,VOL,'平'),COLORWHITE;
天量:=VOL=HHV(VOL,120), COLORRED;
DRAWTEXT(天量,VOL,'天量'),COLORGREEN;
V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;
地量群:=COUNT(V100,5)>=3;
NI:=0.05*CONST(HHV(VOL,240));
DRAWTEXT(FILTER(地量群,4),V+2*NI,'地量群'),COLORGRAY;
倍数:=VOL/REF(VOL,1),COLORYELLOW,NODRAW;
百高量:=VOL>=HHV(VOL,100),COLORRED,NODRAW;
DRAWTEXT(百高量,VOL,'百'),COLORRED;
{梯量:=BARSLASTCOUNT(AMO>=REF(AMO,1))>=2;
DRAWTEXT(梯量,总量,'梯'),COLORLIGRAY;}
{假阴柱}
H_L:=0.1*CONST(HHV(VOL,250));
长阴短柱:=C/REF(C,1)<=0.96 AND VOL<HHV(VOL,30)/1.9;
DRAWTEXT(长阴短柱,VOL+1.6*H_L,'!'),COLORLICYAN;
缩量三一:=VOL/REF(VOL,1)>0.5 AND VOL/REF(VOL,1)<0.67;
DRAWTEXT(缩量三一,VOL,'3'),COLORLIGRAY;
缩量一一:=VOL/REF(VOL,1)<=0.32;
DRAWTEXT(缩量三一,VOL,'1'),COLORWHITE;
V1:=VOL*0.9;
V2:=VOL*0.85;
TDXSTEP134:STICKLINE(倍量,0,V1,1,0),COLORYELLOW;
TDXSTEP139:STICKLINE(倍缩,0,VOL*0.45,1,0),COLORMAGENTA;
TDXSTEP135:STICKLINE(百低,0,V1,1,0),COLORCYAN;
TDXSTEP137:STICKLINE(平量,0,V2,1,0),COLORWHITE;
TDXSTEP138:STICKLINE(长阴短柱,0,V2,1,0),COLORLICYAN;
SAT:=AMOUNT/HHV(AMOUNT,20)*HHV(CLOSE,20)/CLOSE;
饱和%:IF(SAT>1,1,SAT)*100,NODRAW,COLOR00AAFF;
STICKLINE(HSCOL=HHV(HSCOL,20)AND C>=O AND HSCOL>5 ,0,HSCOL/3,3.5,0), COLORYELLOW;
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
主营业增长率:=FINANCE(44);
每股净资产:=CONST(FINANCE(34));
每股收益:=CONST(FINANCE(38));
净利润增长率:=FINANCE(43);
市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
现金负债比:=(FINANCE(25)/FINANCE(15));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
SY01:=净资收益率>3;
SY02:=净资收益率>0.01 AND 净资收益率<=3;
SY03:=主营利润率>2;
SY04:=主营利润率>0;
SY05:=主营业增长率>1;
SY06:=主营业增长率>0;
SY07:=净利润增长率>2;
SY08:=净利润增长率>0.2;
SY09:=每股收益>0.01;
SY10:= 每股收益>0.001;
SY11:=每股净资产>2;
SY12:=每股净资产>0.01;
SY13:=每股未分配>0.5;
SY14:=每股未分配>0.001;
SY15:=每股公积金>0.5;
SY16:=每股公积金>0.002;
SY17:=每股未分配>=2 AND 每股公积金>=2;
SY18:=每股未分配<2 OR 每股公积金<2;
优秀:=SY01 AND SY03 AND SY05 AND SY07 AND SY09 AND SY11 AND SY13 AND SY15;
较好:=SY02 AND SY04 AND SY06 AND SY08 AND SY10 AND SY12 AND SY14 AND SY16;
一般:=NOT(优秀) AND NOT(较好);
DRAWTEXT_FIX(优秀 AND 较好=0,0.01,0.05,0,'综合评估基本面:优秀!'),COLORRED;
DRAWTEXT_FIX(较好,0.01,0.01,0,'综合评估基本面:较好!'),COLORWHITE;
DRAWTEXT_FIX(一般,0.01,0.01,0,'综合评估基本面:一般!'),COLORWHITE;
DRAWTEXT_FIX(SY17,0.01,0.18,0,'是否具备高送转潜力:是!'),COLORWHITE;
DRAWTEXT_FIX(SY18,0.01,0.18,0,'是否具备高送转潜力:否!'),COLORWHITE;
DRAWTEXT_FIX(FINANCE(43)>0,0.01,0.35,0,STRCAT('利润同比%:',VAR2STR(FINANCE(43),2))),COLORWHITE;
DRAWTEXT_FIX(FINANCE(43)<0,0.01,0.35,0,STRCAT('利润同比%:',VAR2STR(FINANCE(43),2))),COLORWHITE;



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图