通达信【多空资金】资金波段副图指标 源码附图
简单一个副图指标分享给大家参考,有助于判断趋势,分享的指标仅供参考。
GSKZ1:=FORCAST(EMA(CLOSE,3),8);
GSKZ2:=FORCAST(EMA(CLOSE,5),8);
GSKZ3:=FORCAST(EMA(CLOSE,8),8);
GSKZ4:=FORCAST(EMA(CLOSE,13),8);
GSKZ5:=FORCAST(EMA(CLOSE,21),8);
GSKZ6:=GSKZ1+GSKZ2+GSKZ3+GSKZ4-4*GSKZ5;
GSKZ7:=EMA(GSKZ6,2);
GSKZ8:=ABS(GSKZ7)+ABS(REF(GSKZ7,1)),NODRAW;
GSKZ9:=(3*CLOSE+2*OPEN+HIGH+LOW)/7;
GSKZ10:=FORCAST(EMA(GSKZ9,16),8);
红实芯:STICKLINE(GSKZ7>=REF(GSKZ7,1) AND GSKZ10>=REF(GSKZ10,1),0,GSKZ8,2,0),COLOR3434FF;
蓝实芯:STICKLINE(GSKZ7< REF(GSKZ7,1) AND GSKZ10<=REF(GSKZ10,1),0,GSKZ8,2,0),COLORFFFF82;
蓝空芯:STICKLINE(GSKZ7>=REF(GSKZ7,1) AND GSKZ10< REF(GSKZ10,1),0,GSKZ8,2,1),COLORFFFF82;
红空芯:STICKLINE(GSKZ7< REF(GSKZ7,1) AND GSKZ10>=REF(GSKZ10,1),0,GSKZ8,2,1),COLOR3434FF;
启动:=BARSLAST((STICKLINE(GSKZ7< REF(GSKZ7,1) AND GSKZ10< REF(GSKZ10,1),0,GSKZ8,2,0))) ,COLORYELLOW,NODRAW;
深跌反转:BARSLAST((STICKLINE(GSKZ7>=REF(GSKZ7,1) AND GSKZ10< REF(GSKZ10,1),0,GSKZ8,2,1))),COLORRED,NODRAW;
中继红:=BARSLAST((STICKLINE(GSKZ7< REF(GSKZ7,1) AND GSKZ10>=REF(GSKZ10,1),0,GSKZ8,2,1))),COLORMAGENTA,NODRAW;
多空:BARSLAST((STICKLINE(GSKZ7>=REF(GSKZ7,1) AND GSKZ10>REF(GSKZ10,1),0,GSKZ8,2,1))),COLORLIGREEN,NODRAW;