图片:
指标:
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORRED,LINETHICK2;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(A1X>=0,出击,突破,0,-1),COLORRED;
STICKLINE(A1X<0,休假,突破,0,-1),COLORGREEN;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLORRED;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLORYELLOW;
H1:EMA(C,8),POINTDOT;
H2:EMA(H1,8),POINTDOT;
STICKLINE(H1>H2,H1,H2,10,10),COLORMAGENTA,LINETHICK5;
STICKLINE(H1< H2,H1,H2,10,10),COLORGRAY,LINETHICK5;
MA2:=(REF(C,2)+REF(C,1)+C)/3,NODRAW;
STICKLINE(MA2>=REF(MA2,1) ,C,O,9,1) ,COLORRED;
STICKLINE(MA2>=REF(MA2,1) ,H,MAX(C,O),1,1) ,COLORRED;
STICKLINE(MA2>=REF(MA2,1) ,L,MIN(C,O),1,1) ,COLORRED;
STICKLINE(MA2<REF(MA2,1) ,C,O,9,1) ,COLORWHITE;
STICKLINE(MA2<REF(MA2,1) ,H,MAX(C,O),1,1) ,COLORWHITE;
STICKLINE(MA2<REF(MA2,1) ,L,MIN(C,O),1,1) ,COLORWHITE;
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;
QSUP2:IF(UB<REF(UB,1),UB,DRAWNULL),COLORGREEN,LINETHICK2;
QSDN1:IF(LB<=REF(LB,1),LB,DRAWNULL),COLORGREEN,LINETHICK2;
QSDN2:IF(LB>REF(LB,1),LB,DRAWNULL),COLORRED,LINETHICK2;
买线:=ZIG(1,2);
卖线:=MA(买线,2);
STICKLINE(买线<卖线,H,L,0,0),COLORGREEN;
STICKLINE(买线<卖线,C,O,9,0),COLOR007700;
STICKLINE(买线<卖线,C,O,8,0),COLOR008E00;
STICKLINE(买线<卖线,C,O,7,0),COLOR009900;
STICKLINE(买线<卖线,C,O,6,0),COLOR00A600;
STICKLINE(买线<卖线,C,O,5,0),COLOR00B500;
STICKLINE(买线<卖线,C,O,4,0),COLOR00C600;
STICKLINE(买线<卖线,C,O,3,0),COLOR00D500;
STICKLINE(买线<卖线,C,O,2,0),COLOR00E600;
STICKLINE(买线>=卖线,H,L,0,0),COLOR0000FF;
STICKLINE(买线>=卖线,C,O,9,0),COLOR0000A3;
STICKLINE(买线>=卖线,C,O,8,0),COLOR0000B7;
STICKLINE(买线>=卖线,C,O,6,0),COLOR0000C8;
STICKLINE(买线>=卖线,C,O,5,0),COLOR0000D9;
STICKLINE(买线>=卖线,C,O,4,0),COLOR0000CD;
STICKLINE(买线>=卖线,C,O,3,0),COLOR0000E9;
STICKLINE(买线>=卖线,C,O,2,0),COLOR0000EA;
STICKLINE(买线>=卖线,C,O,1,0),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,LINETHICK5;
【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORLIRED,LINETHICK5;
【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORBLUE,LINETHICK5;
变:EMA(CLOSE,5),LINETHICK1,COLORYELLOW,LINETHICK1;
金:IF(变>REF(变,1),变,DRAWNULL),COLORLIRED,LINETHICK3;
空:IF(变<REF(变,1),变,DRAWNULL),COLORBLUE,LINETHICK5;
VAR1:=ZIG(3,2.88)<REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)>REF(ZIG(3,2.88),2);
VAR2:=ZIG(3,2.88)>REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)<REF(ZIG(3,2.88),2);
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;
B:EMA(C,2),POINTDOT,COLOR000000;
S:EMA(SLOPE(C,15)*10+C,21),POINTDOT,COLOR000000;
STICKLINE(B>=S,LOW,HIGH,13,0),COLORRED;
STICKLINE(B>=S,CLOSE,OPEN,13,0),COLOR0000AA;
STICKLINE(B>=S,CLOSE,OPEN,9,0),COLOR0000CC;
STICKLINE(B>=S,CLOSE,OPEN,7,0),COLOR0000DD;
STICKLINE(B>=S,CLOSE,OPEN,6,0),COLOR0000FF;
STICKLINE(B<S,CLOSE,OPEN,6,0),COLOREEEE00;
STICKLINE(B<S,CLOSE,OPEN,8,0),COLORDDDD00;
STICKLINE(B<S,CLOSE,OPEN,9,0),COLORCCCC00;
STICKLINE(B<S,CLOSE,OPEN,13,0),COLORAAAA00;
XOPEN:=(REF(O,1)+REF(C,1))/2;
XCLOSE:=CLOSE;
XHIGH:=MAX(HIGH,XOPEN);
XLOW:=MIN(LOW,XOPEN);
VOLALITY:=MA(XHIGH-XLOW,8);
凰线:MA(XCLOSE,5)+VOLALITY/2,POINTDOT;
凤线:MA(XCLOSE,5)-VOLALITY/2,POINTDOT;
郑重声明:股市具有不确定性,个股走势是无法预测的。公式软件描述中的案例截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,也并不能代表未来,依此操作,责任自负。股市有风险,入市需谨慎。
指标公式评论
(行云趋势主图公式源码)