通达信趋势追踪源码主图贴图

[复制链接]
查看82 | 回复0 | 2021-8-20 00:32:51 | 显示全部楼层 |阅读模式

以下是通达信趋势追踪源码主图贴图(无源码的请下载附件导入)

DRAWTEXT_FIX(1,0.06,0,0,'红K线进,蓝K线出!'),COLOR00FFFF;

 {M5:MA(C,5),COLORMAGENTA;}
 M20:MA(C,20),COLORYELLOW,LINETHICK1;
 DRAWICON(CROSS(C,M20),M20-0.1,1);
 DRAWICON(CROSS(M20,C),M20+0.2,2);
 {}
 STICKLINE(C AND C>O,O,C,-1,1),COLORRED;
 STICKLINE(C AND C>O,H,C,0,0),COLORRED;
 STICKLINE(C AND C>O,O,L,0,0),COLORRED;
 STICKLINE(C AND C<=O,O,C,-1,0),COLORRED;
 STICKLINE(C AND C<=O,H,O,0,0),COLORRED;
 STICKLINE(C AND C<=O,C,L,0,0),COLORRED;

 STICKLINE(C<M20 AND C>0,O,C,-1,1),COLORCYAN;
 STICKLINE(C<M20 AND C>0,H,C,0,0),COLORCYAN;
 STICKLINE(C<M20 AND C>0,O,L,0,0),COLORCYAN;
 STICKLINE(C<M20 AND C<=O,O,C,-1,0),COLORCYAN;
 STICKLINE(C<M20 AND C<=O,H,O,0,0),COLORCYAN;
 STICKLINE(C<M20 AND C<=O,C,L,0,0),COLORCYAN;

 BDGD:=C=HHV(C,13);
 GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLORFF00FF,POINTDOT;
突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW;
 STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF;
 {}
 STICKLINE(BARSLAST(CURRBARSCOUNT=3)>=0,REF(C,BARSLAST(CURRBARSCOUNT=3)),REF(C,BARSLAST(CURRBARSCOUNT=3)),6,-1),COLORYELLOW;
 AAA:=BARSLAST(DATE!=REF(DATE,1));
前天收:=REF(C,AAA+2)COLORWHITE;


本公式特点:1,红k线进,黄k线出!
          2,突破近期高点,跟进。
          3,跌破前天收盘价,减仓。

182377021.png

182377021.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则