三线红买入 通达信副图/主图指标 源码 贴图
三线红买入 通达信副图/主图指标 源码 贴图
M5:MA(C,5),COLORGRAY;
M10:MA(C,10),COLORGRAY;
M20:MA(C,20),COLORGRAY;
M60:MA(C,60),COLORWHITE;
上扬M5:=M5>=REF(M5,1);
下降M5:=M5<REF(M5,1);
M5上:IF(上扬M5,M5,DRAWNULL),COLORRED,LINETHICK1;
M5下:IF(下降M5,M5,DRAWNULL),COLORGREEN;
上扬M10:=M10>REF(M10,1);
下降M10:=M10<REF(M10,1);
M10上:IF(上扬M10,M10,DRAWNULL),COLORRED,LINETHICK1;
M10下:IF(下降M10,M10,DRAWNULL),COLORGREEN;
上扬M20:=M20>REF(M20,1);
下降M20:=M20<REF(M20,1);
M20上:IF(上扬M20,M20,DRAWNULL),COLORRED,LINETHICK1;
M20下:IF(下降M20,M20,DRAWNULL),COLORGREEN;
上扬M60:=M60>=REF(M60,1);
下降M60:=M60<REF(M60,1);{WWW.GPXIAZAI.COM}
M60上:IF(上扬M60,M60,DRAWNULL),COLORFF8000,LINETHICK1;
M60下:IF(下降M60,M60,DRAWNULL),COLOR800000;
DRAWTEXT(CURRBARSCOUNT=5,HIGH,'5')DRAWABOVE;
DRAWTEXT(CURRBARSCOUNT=10,HIGH,'10')DRAWABOVE;
DRAWTEXT(CURRBARSCOUNT=20,HIGH,'20')DRAWABOVE;
买线:=C>M10 AND C>M20 AND 上扬M20 AND 上扬M10 AND 上扬M5 AND C>M5;
卖线:=C<M5 AND C<M20 OR M5<=M20 OR 下降M5;
STICKLINE(卖线 AND O>C,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖线 AND O<C,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(买线 AND O>C,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(买线 AND O<C,OPEN,CLOSE,3,0),COLORRED;
变盘1:=CROSS(M5,M10) AND CROSS(M5,M20) AND C>M20;
STICKLINE(变盘1 AND C>O,OPEN,CLOSE,3.2,0),COLORYELLOW;
变盘2:=CROSS(C,M10) AND CROSS(C,M20) AND 下降M20;
STICKLINE(变盘2 AND C>O,OPEN,CLOSE,3,0),COLORCYAN;
- 上一篇公式:背离线 通达信副图指标 源码 贴图 无未来
- 下一篇公式:金山 通达信副图预警指标 源码 贴图 指标不限时