趋势线+撑压线主图无未来

https://www.buyhaogu.com/gongshi/tongdaxin/56009789121326983.html

趋势线+撑压线主图无未来

A:=EMA(C,14),COLORWHITE,LINETHICK1;

B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;

支撑:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),COLORRED,LINETHICK2;

阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),COLORGREEN,LINETHICK2;

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

VAR3:=EMA(VAR2,10);

VAR4:=LLV(LOW,33);

VAR5:=EMA(IF(LOW>=VAR4,VAR3,0),3);

VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);

VAR31:=EMA(VAR21,10);

VAR41:=HHV(HIGH,33);

VAR51:=EMA(IF(HIGH<=VAR41,VAR31,0),3);

主力拉高:IF(VAR51>REF(VAR51,1),VAR51,0),COLORYELLOW,NODRAW;

出货:IF(VAR51<REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;

短趋势线:MA(CLOSE,13),COLORRED,LINETHICK3;

涨:IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK3;

平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK3;

跌:IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLOR80FF00,LINETHICK3;

(0)

相关推荐