【通达信免费源码】多空波段指标副图 波段 短线 买卖点 操盘控盘

通达信免费指标 10-28 阅读:1691 评论:0

30-1PZ3214338.png30-1PZ3214338-50.png

突破:=REF(EMA(C,14),1);

A1X:=(EMA(C,10)-突破)/突破*100;

多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);

DRAWBAND(多方,RGB(111,0,0),突破,RGB(238,204,0));

N:=40;

MA1:=WMA(HIGH,N);

MA2:=WMA(LOW,N);

STICKLINE(CLOSE>MA1 AND OPEN>MA1,MA1,MA2,1,-1),COLORCYAN;

STICKLINE(CLOSE<MA2 AND OPEN<MA2,MA1,MA2,1,-1),COLORFF0000;

IF(CLOSE>=MA2,MA1,DRAWNULL),COLORCYAN;

IF(CLOSE<MA2,MA1,DRAWNULL),COLORFF0000;

IF(CLOSE>=MA2,MA2,DRAWNULL),LINETHICK1,COLORFFFFFF;

IF(CLOSE<MA2,MA2,DRAWNULL),LINETHICK1,COLORFF0000;

IF(CLOSE>=MA2,MA1,DRAWNULL),COLORCYAN;

IF(CLOSE<MA2,MA1,DRAWNULL),COLORFF0000;

IF(CLOSE>=MA2,MA2,DRAWNULL),LINETHICK1,COLORCYAN;

IF(CLOSE<MA2,MA2,DRAWNULL),LINETHICK1,COLORFF0000;

STICKLINE(CLOSE<MA2,LOW,HIGH,0,0),COLORGREEN;

STICKLINE(CLOSE<MA2,OPEN,CLOSE,3,0),COLORGREEN;

STICKLINE(CLOSE>=MA2,LOW,HIGH,0,0),COLORRED;

STICKLINE(CLOSE>=MA2,OPEN,CLOSE,3,0),COLORRED;

趋势跌:IF(CLOSE<MA2,WMA(OPEN,11),DRAWNULL),LINETHICK2,COLORFFFF00;

趋势涨:IF(CLOSE>=MA2,WMA(OPEN,11),DRAWNULL),LINETHICK2,COLORFF00FF;

{收盘划横线}

β0:=(H-L)/2+L;

α:=β0,LINETHICK0;

β:=REF(β0,1),LINETHICK0,COLORGREEN;

γ:=REF(β0,2),LINETHICK0,COLORMAGENTA;

高位:PLOYLINE(1,CONST(HHV(H,20))),COLOR880088,LINETHICK1,DOTLINE;

低位:PLOYLINE(1,CONST(LLV(L,20))),COLOR888800,LINETHICK1,DOTLINE;

止赢止损位:PLOYLINE(1,CONST(HHV(H,20)*0.95)),COLOR888888,LINETHICK2;

收盘划横线&持股:IF(CONST(α>β) AND DYNAINFO(7)>0,DYNAINFO(7),DRAWNULL),COLORRED,LINETHICK1;

持币:IF(CONST(α<=β)AND DYNAINFO(7)>0 ,DYNAINFO(7),DRAWNULL),COLORGREEN,LINETHICK1;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服