同花顺布林绿进红指标公式
-
相关简介:zsx1:=LLV(CLOSE,60); zq:=BARSLAST(CLOSE=ZSx1); gg:=HHV(CLOSE,zq); IF(ggREF(gg,1)) zj=(gg-REF(gg,1)); ELSE zj:=0; IF(zq=0) 高压:=zsx1,colorgray,LINETHICK1,POINTDOT; ELSE 高压:=REF(高压,1)+zj,LINETHICK1,POINTDOT; ╬ : MA(CLOSE,20),LINETHICK1 ,colorcyan; ╦: ╬
-
文章来源:股海网作者:股海网发布时间:2015-06-01浏览次数:
zsx1:=LLV(CLOSE,60);
zq:=BARSLAST(CLOSE=ZSx1);
gg:=HHV(CLOSE,zq);
IF(gg>REF(gg,1))
zj=(gg-REF(gg,1));
ELSE zj:=0;
IF(zq=0)
高压:=zsx1,colorgray,LINETHICK1,POINTDOT;
ELSE 高压:=REF(高压,1)+zj,LINETHICK1,POINTDOT;
╬ : MA(CLOSE,20),LINETHICK1 ,colorcyan;
╦: ╬ + 2*STD(CLOSE,20) ,colorred;
╩: ╬ - 2*STD(CLOSE,20) ,colorgreen;
波动 : EMA(CLOSE,7) ,colorgray;
绿进红﹦:(MA(C,30)+MA(C,72))/2 ,LINETHICK1,POINTDOT;
底 : CROSS(高压,绿进红﹦) ,colorligreen,POINTDOT ;
DRAWTEXT(底,HIGH*1.0168,'↙底') ,colorligreen;
DRAWICON(底,LOW*0.96,'buy');
买 : CROSS(波动,╬) AND ╬<CLOSE ,colormagenta ;
STICKLINE(买,CLOSE,O,8,0) ,colorlired;
DRAWTEXT(买,LOW*0.98,'↖买') ,colorlired;
A1:=EMA(C,14),colorwhite,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
支撑:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorlired,LINETHICK1;
压力:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL) ,colorligreen,LINETHICK1;
DRAWTEXT(ISLASTBAR,压力,' ̄╬压力'),colorligreen;
DRAWTEXT(ISLASTBAR,支撑,' ̄╩支撑'),colorlired;