以下是通达信判大势的牛熊时段公式

通达信判大势的牛熊时段公式

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;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。