五彩K线公式——牛熊时段源码
ma120:=ma(c,120);
ma250:=ma(c,250);
STICKLINE(C=O,H,L,0,0),COLORCYAN;
STICKLINE(C=O,C,O,3,0),COLORCYAN;
STICKLINE(C>O,H,C,0,0 ),COLORCYAN;
STICKLINE(C>O,L,O,0,0 ),COLORCYAN;
STICKLINE(C>O,O,C,3,1 ),COLORCYAN;
STICKLINE(OPEN>CLOSE,H,L,0,0 ),COLORCYAN;
STICKLINE(OPEN>CLOSE,O,C,3,0 ),COLORCYAN;
STICKLINE(C<MA120 AND OPEN>=CLOSE,H,L,0,0 ),COLORCYAN;
STICKLINE(C<MA120 AND OPEN>=CLOSE,O,C,3,0),COLORCYAN;
STICKLINE(C<MA120 AND OPEN<CLOSE,H,C,0,0 ),COLORCYAN;
STICKLINE(C<MA120 AND OPEN<CLOSE,O,L,0,0),COLORCYAN;
STICKLINE(C<MA120 AND OPEN<CLOSE,O,C,3,1 ),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;
- 上一篇:自用指标集合的优秀指标 2014/8/29
- 下一篇:选股指标今天最低价是对子数 2014/8/29