通达信多空通道主图指标公式源码
通达信_通达信MACD二次金叉选股
通达信多空通道,九色采红作品 :
短底:EMA(L,25),COLORGREEN;
A1:=PLOYLINE(C>短顶,短顶);
NOTEXT_A2:IF(C>短顶,A1,DRAWNULL),COLORRED;
B1:=PLOYLINE(C>短底,短底);
NOTEXT_B2:IF(C>短底,B1,DRAWNULL),COLORRED;
STICKLINE(C>短顶,短顶,短底,0.01,1),COLORRED;
STICKLINE(C<短底,短顶,短底,0.01,1),COLORGREEN;
长顶:EMA(H,90),COLORBLUE;
长底:EMA(L,90),COLORBLUE;
C1:=PLOYLINE(C>长顶,长顶);
NOTEXT_C2:IF(C>长顶,C1,DRAWNULL),COLORMAGENTA;
D1:=PLOYLINE(C>长底,长底);
NOTEXT_D2:IF(C>长底,D1,DRAWNULL),COLORMAGENTA;
STICKLINE(C>长顶,长顶,长底,0.01,1),COLORMAGENTA;
STICKLINE(C<长底,长顶,长底,0.01,1),COLORBLUE;
短空:=REF(C,1)>REF(短底,1) AND C<短底;
短多:=REF(C,1)<REF(短顶,1) AND C>短顶;
短空1:=短空 AND COUNT(短空,BARSLAST(短多))=1;
短多1:=短多 AND COUNT(短多,BARSLAST(短空))=1;
长空:=REF(C,1)>REF(长底,1) AND C<长底;
长多:=REF(C,1)<REF(长顶,1) AND C>长顶;
长空1:=长空 AND COUNT(长空,BARSLAST(长多))=1;
长多1:=长多 AND COUNT(长多,BARSLAST(长空))=1;
DRAWKLINE(H,O,L,C);
ZT_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
ZT_2:=ZT_1>=0.099 AND CLOSE=HIGH AND LOW!=HIGH;
STICKLINE(ZT_2,OPEN,CLOSE,2.4,0),COLORYELLOW;
通达信钻石黄金柱副图源码贴图 _源码_通达信