通达信筹码突破指标公式

筹码密集度:(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE
,COLORYELLOW,LINETHICK1;
筹码线:EMA(COST(99),181),POINTDOT,COLORMAGENTA,LINETHICK2;
筹码集中点:LONGcrOSS(筹码密集度,筹码线,60),NODRAW;
DRAWICON(筹码集中点,筹码线,42);
箱顶:MA(REF(HHV(C,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(C,30),1),2),COLOR00FF00,LINETHICK2;
{股价N日内从最高价到最低价,或最高价至目前股价的跌幅计算公式}
N:=20{N自定};
高低跌幅%:IF(HHVBARS(H,N)>0,LLV(L,HHVBARS(H,N)+1)/HHV(H,N)*100-100,0),NODRAW;
高至今跌幅%:IF(HHVBARS(H,N)>0,C/HHV(H,N)*100-100,0),NODRAW;
{股价N日内从最低价到最高价,或最低价至目前股价的涨幅计算公式}
低高涨幅%:IF(LLVBARS(L,N)>0,HHV(H,LLVBARS(L,N)+1)/LLV(L,N)*100-100,0),NODRAW;
低至今涨幅%:IF(LLVBARS(L,N)>0,C/LLV(L,N)*100-100,0),NODRAW;
{营收四率}
BGQ:=FINVALUE(0);
Z111:=STRCAT('公告日期:20',CON2STR(BGQ,0));
DRAWTEXT_FIX(1,0.12,0.01,0,Z111),COLORWHITE;
净资收益率:(FINANCE(33)/FINANCE(34)*100),COLORWHITE,NODRAW;
主营利润率:(FINANCE(23)/FINANCE(20)*100),COLORYELLOW,NODRAW;
主营业增长率:FINANCE(44),COLORMAGENTA,NODRAW;{44 营业收入同比%}
净利润增长率:FINANCE(43),COLORRED,NODRAW;{43 净利润同比%}
利润扣非同比%:FINONE(191,0,0),NODRAW,,COLORYELLOW;{扣非增长率};
DRAWTEXT_FIX(1,0.01,0,0,STRCAT(STRCAT('净资收益 ',CON2STR(净资收益率,0)),'%')),COLORWHITE;
DRAwrECTREL(10,85,110,155,RGB(120,120,120));
DRAWRECTREL(10,100,(10+CONST(Abs(净资收益率)*100/100)),140,IF(CONST(净资收益率)>0,RGB(250,0,0),RGB(0,200,0)));
DRAWTEXT_FIX(1,0.01,0.18,0,STRCAT(STRCAT('主营利润 ',CON2STR(主营利润率,0)),'%')),COLORYELLOW;
DRAWRECTREL(10,280,(10+CONST(ABS(主营利润率)*100/100)),320,IF(CONST(主营利润率)>0,RGB(250,0,0),RGB(0,200,0)));
DRAWTEXT_FIX(1,0.01,0.36,0,STRCAT(STRCAT('主营业增长 ',CON2STR(主营业增长率,0)),'%')),COLORMAGENTA;
DRAWRECTREL(10,460,(10+CONST(ABS(主营业增长率)*100/100)),500,IF(CONST(主营业增长率)>0,RGB(200,0,200),RGB(0,200,0)));
Q1W1:=STRCAT(STRCAT('净利润增长 ',CON2STR(净利润增长率,0)),'%● ');
Q2W2:=STRCAT(STRCAT('扣非同比 ',CON2STR(利润扣非同比%,0)),'% ');
Q3W3:=STRCAT(Q1W1,Q2W2);
DRAWTEXT_FIX(1,0.01,0.54,0,Q3W3),COLORRED;
DRAWRECTREL(10,645,(10+CONST(ABS(净利润增长率)*100/100)),695,IF(CONST(净利润增长率)>0,RGB(180,0,0),RGB(0,200,0)));
DRAWRECTREL(10,658,(10+CONST(ABS(利润扣非同比%)*100/100)),682,IF(CONST(利润扣非同比%)>0,RGB(250,0,0),RGB(0,200,200)));
{显示业绩预告柱}
预告日期:=FINVALUE(313),COLOR0080FF,NODRAW;
KSK:=STRCAT(STRCAT('预告日期 ',CON2STR(预告日期,0)),' ●');
DRAWTEXT_FIX(FINONE(285,0,0)<>0,0.01,0.74,0,KSK),COLORYELLOW;
下限:=FINONE(285,0,0),COLOR0080FF,NODRAW;
上限:=FINONE(286,0,0),COLOR0080FF,NODRAW;
YG101:=(FINONE(285,0,0)>0 OR FINONE(285,0,0)<0);
预101:=IF(YG101,'业绩预告增幅 ',DRAWNULL);
A101:=STRCAT(预101,STRCAT(CON2STR(FINONE(285,0,0),0),' %'));
B101:=STRCAT('~',STRCAT(CON2STR(FINONE(286,0,0),0),' % '));
C101:=STRCAT(A101,B101);
DRAWTEXT_FIX(FINONE(285,0,0)>0,0.085,0.74,0,C101),COLORYELLOW;
DRAWTEXT_FIX(FINONE(285,0,0)<0,0.085,0.74,0,C101),COLOR00FF00;
DRAWRECTREL(10,854,(10+CONST(ABS(上限)*100/100)),915,IF(CONST(上限)>0,RGB(250,0,0),RGB(0,200,0)));
DRAWRECTREL(10,864,(10+CONST(ABS(下限)*100/100)),906,IF(CONST(下限)>0,RGB(180,0,0),RGB(0,200,200)));



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

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

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