通达信判大势的“牛熊时段”指标公式

[复制链接]
查看106 | 回复0 | 2021-8-21 04:25:08 | 显示全部楼层 |阅读模式

以下是通达信判大势的“牛熊时段”指标公式(无源码的请下载附件导入)

MA120:=MA(C,120);
 MA250:=MA(C,250);
 STICKLINE(C>=O,H,L,0,1),COLORCYAN;
 STICKLINE(C>=O,C,O,3,1),COLORCYAN;
 STICKLINE(C<O,H,L,0,0 ),COLORCYAN;
 STICKLINE(C<O,C,O,3,0 ),COLORCYAN;
 STICKLINE(C>MA120 AND C>O,H,C,0,0 ),COLORRED;
 STICKLINE(C>MA120 AND C>O,L,O,0,0 ),COLORRED;
 STICKLINE(C>MA120 AND C>O,O,C,3,1),COLORRED;
 STICKLINE(C>MA120 AND C<=O,H,L,0,0 ),COLORRED;
 STICKLINE(C>MA120 AND C<=O,O,C,3,0),COLORRED;
 STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLORRED;
 STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLORRED;
 STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLORRED;
 STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLORRED;
 STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLORRED;
 STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
 STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
 STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
 STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
 STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;
 STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
 STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
 STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
 STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
 STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;
 STICKLINE(MA120>MA250 AND C>MA120 AND C>O,H,C,0,0),COLORRED;
 STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,L,0,0),COLORRED;
 STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,C,3,1),COLORRED;
 STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,H,L,0,0),COLORRED;
 STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,O,C,3,0),COLORRED;
 STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLORGREEN;
 STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLORGREEN;
 STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLORGREEN;
 STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLORGREEN;
 STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLORGREEN;
 STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
 STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
 STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
 STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
 STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;
 STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORBLUE;
 STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORBLUE;
 STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORBLUE;

STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORBLUE;
 STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORBLUE;
 STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLORYELLOW;
 STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLORYELLOW;
 STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLORYELLOW;
 STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLORYELLOW;
 STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLORYELLOW;

812577721.jpg

812577721.jpg

812411289.rar (3.56 KB, 下载次数: 0, 售价: 1 金钱)
回复

使用道具 举报

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

本版积分规则