通达信红绿轨道趋势主图指标公式
2021/3/6 18:29:19
ND:=IF(BARSCOUNT(C)>=5,5,BARSCOUNT(C));
AMOV:=VOL*(C+L+H)/3;
MN:=SUM(AMOV,ND)/SUM(VOL,ND);
MN1:SUM(AMOV,ND)/SUM(VOL,ND),COLORBLUE,LINETHICK2;
NOTEXT1:IF(C>MN1,MN1,DRAWNULL),LINETHICK2,COLORRED;
NOTEXT2:IF(C<MN1,MN1,DRAWNULL),LINETHICK2,COLORCYAN;
红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;
绿轨道:=MA(MA(CLOSE,3),3);
上升:IF(红轨道>=绿轨道,绿轨道,DRAWNULL),COLORMAGENTA,LINETHICK2;
下降:IF(红轨道<=绿轨道,绿轨道,DRAWNULL),COLORLIBLUE,LINETHICK2;
B:=EMA(C,2),COLOR000000;
S:=EMA(SLOPE(C,6)*10+C,30),POINTDOT,COLOR000000;
SEL:=CROSS(S,B);
STICKLINE(B>=S,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(B>=S,CLOSE,OPEN,5,0),COLOR0000AA;
STICKLINE(B>=S,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(B>=S,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(B>=S,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(B<S,LOW,HIGH,0.1,0),COLORFFFF00;
STICKLINE(B<S,CLOSE,OPEN,5,0),COLORAAAA00;
STICKLINE(B<S,CLOSE,OPEN,4,0),COLOREEEE00;
STICKLINE(B<S,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(B<S,CLOSE,OPEN,2,0),COLORDDDD00;
STICKLINE(B<S,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(CROSS(B,S) OR CROSS(S,B),OPEN,CLOSE,3.5,0),COLORYELLOW;
投股 票网 www.tou18 .cn
股市公式下载推荐