通達(dá)信紅鑫主圖線公式指標(biāo)
2019-05-08 16:08 綜投網(wǎng)
黃線1:EMA((O+C)/2,30),COLOR00FFFF;
黃線2:EMA((O+C)/2,35),POINTDOT,COLOR00FFFF;
黃線3:EMA((O+C)/2,40),POINTDOT,COLOR00FFFF;
黃線4:EMA((O+C)/2,45),COLOR00FFFF;
藍(lán)1:EMA((C+O)/2,90),COLORFF4A00;
藍(lán)2:EMA((C+O)/2,97),POINTDOT,COLORFF4A00;
藍(lán)3:EMA((C+O)/2,103),POINTDOT,COLORFF4A00;
藍(lán)4:EMA((C+O)/2,110),COLORFF4A00;
紅1:EMA((C+O)/2,140),COLOR0000FF;
紅2:EMA((C+O)/2,152),COLOR0000FF,POINTDOT;
紅3:EMA((C+O)/2,170),COLOR0000FF,POINTDOT;
紅4:EMA((C+O)/2,180),COLOR0000FF;
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盤線】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
【黃金線】:IF(重心>=【操盤線】,【操盤線】,DRAWNULL),COLORLIRED,LINETHICK2;
【空倉線】:IF(重心<【操盤線】,【操盤線】,DRAWNULL),COLORCYAN,LINETHICK2;
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,10,0),COLORGRAY;
STICKLINE(A1X<0,空方,突破,10,0),COLORBLUE;
EMA5:EMA(C,5);
EMA20:EMA(C,20),DOTLINE,COLORGRAY;
UB:EMA20+STD(CLOSE,20);
LB:EMA20-STD(CLOSE,20);
E5U:IF(EMA5>=REF(EMA5,1),EMA5,DRAWNULL),COLORRED,LINETHICK2;
E5D:IF(EMA5<=REF(EMA5,1),EMA5,DRAWNULL),COLORGREEN,LINETHICK2;
QSUP1:IF(UB>=REF(UB,1),UB,DRAWNULL),COLORRED,LINETHICK2;
QSDN1:IF(LB<=REF(LB,1),LB,DRAWNULL),COLORGREEN,LINETHICK2;
QSDN2:IF(LB>REF(LB,1),LB,DRAWNULL),COLORRED,LINETHICK2;
B:EMA(C,2),POINTDOT,COLOR000000;
S:EMA(SLOPE(C,10)*20+C,42),POINTDOT,COLOR000000;
STICKLINE(B>=S,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(B>=S,CLOSE,OPEN,10,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
STICKLINE(B
STICKLINE(B
STICKLINE(B
STICKLINE(B
STICKLINE(B
VAR1:=ZIG(3,2.88)REF(ZIG(3,2.88),2);
VAR2:=ZIG(3,2.88)>REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)
STICKLINE(VAR1,C,O,8,0),COLOR00FF00;
STICKLINE(VAR1,C,O,5,0),COLOR00FF00;
STICKLINE(VAR1,H,L,2,0),COLOR00FF00;
STICKLINE(VAR2,C,O,7,0),COLOR0000FF;
STICKLINE(VAR2,C,O,5,0),COLOR0000FF;
STICKLINE(VAR2,H,L,2,0),COLOR0000FF;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,6,0),COLORYELLOW;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,6,0),COLORBLUE;