通达信分时量打板用的分时副图指标 源码 附图

分时量:VOL,VOLSTICK;
冲板量:LAV2.GV#DAY,COLORYELLOW,LINETHICK2;
NOTEXT:冲板量,POINTDOT,COLORRED,LINETHICK2;
预警量:LAV2.RV#DAY,COLORGREEN,LINETHICK2;
NOTEXT1:预警量,POINTDOT,COLORYELLOW,LINETHICK2;
AM:=SUM(V,0);
J1:=C>REF(C,1);
L1:=V>MA(V,5);
J2:=C>=HHV(C,0);
L2:=V>=HHV(V,0);
STICKLINE(J1 AND L1 AND V>预警量,0,V,10,0),COLORYELLOW;
STICKLINE(J1 AND L1 AND J2 AND L2 AND V>冲板量,0,V,10,0),COLORMAGENTA;
换手:=AM/LAV2.QV#DAY;
SAT:=IF(换手>1,1,换手)*100;
SAT1:=AM/LAV2.HV#DAY;
饱和:=IF(SAT1>1,1,SAT1)*100;
DRAWRECTREL(110,10,400,90,RGB(0,75,200));
DRAWRECTREL(110,10,100+CONST(SAT*300/100),90,RGB(200,50,0));
DRAWTEXT_FIX(1,0.040,0.02,0,STRCAT('已换手:',STRCAT(CON2STR(换手*100,2),'%'))),COLORYELLOW;
DRAWRECTREL(610,10,900,90,RGB(0,75,200));
DRAWRECTREL(610,10,600+CONST(饱和*300/100),90,RGB(175,50,0));
DRAWTEXT_FIX(1,0.540,0.02,0,STRCAT('饱和度:',STRCAT(CON2STR(SAT1*100,2),'%'))),COLORYELLOW;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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