当前位置:首页 > 通达信公式 > 内容

通达信优化老鸭头主图指标公式源码

作者:公式指标平台   更新时间:2024-12-04   点击:

MA5:MA(CLOSE,5),DOTLINE;
MA10:MA(CLOSE,10),DOTLINE;
VAR1:=BARSLAST(crOSS(MA10,MA5));
VAR2:=BARSLAST(CROSS(MA5,MA10));
VAR18:=FINDHIGHBARS(HIGH,VAR1+1,5,1);
VAR19:=FINDLOWBARS(LOW,VAR2+1,5,1);
A:REF(H,BARSLAST(CURRBARSCOUNT=CONST(VAR18)+1)),COLORRED;
B:REF(L,BARSLAST(CURRBARSCOUNT=CONST(VAR19)+1)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=CONST(VAR18)+1,H,'死叉5天前最高'),COLORYELLOW,DRAWABOVE;
DRAWTEXT(CURRBARSCOUNT=CONST(VAR19)+1,L,' 金叉5天前最低'),COLORYELLOW,DRAWABOVE;
DRAWTEXT(CURRBARSCOUNT=CONST(VAR1)+1,MA5,'死叉'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=CONST(VAR2)+1,MA5,'金叉'),COLORRED;
DRAWICON(CONST(VAR18)>CONST(VAR19) AND COUNT(C>A,VAR18)=1 AND C>A AND C/B<1.2,H,1);

通达信优化老鸭头主图指标公式源码

通达信优化老鸭头主图指标公式源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web