飞狐胡子不亏均线-急进型主图指标
-
相关简介:飞狐胡子不亏均线-急进型主图指标 源码 {胡子不亏均线-急进型} m9:ma(c,9); ma23:ema(c,23),COLORyellow; m43:=Ema(c,43),COLORRED; m47:ma(c,47),colorgreen; m48:Ema(m47,3),colorgreen; m49:ema(m48,3),COLORMAGENTA; m50:Ema(m49,3),COLORMAGENTA; MA60:eMA(CLOSE,60),COLORred,LINETHICK2; st
-
文章来源:股海网作者:股海网发布时间:2016-04-14浏览次数:
飞狐胡子不亏均线-急进型主图指标
源码
{胡子不亏均线-急进型}
m9:ma(c,9);
ma23:ema(c,23),COLORyellow;
m43:=Ema(c,43),COLORRED;
m47:ma(c,47),colorgreen;
m48:Ema(m47,3),colorgreen;
m49:ema(m48,3),COLORMAGENTA;
m50:Ema(m49,3),COLORMAGENTA;
MA60:eMA(CLOSE,60),COLORred,LINETHICK2;
stickline(c<=o,C,o,8,0),COLORCYAN;
stickline(c<=o,H,L,0.1,0),COLORCYAN;
stickline(c>=o,C,o,8,1),COLORRED;
stickline(c>=o,H,c,0.1,0),COLORRED;
stickline(c>=o,L,o,0.1,0),COLORRED;
HZ1:=EMA(CLOSE,13);
HZ2:=MA(C,21);
stickline(c>o AND HZ1>HZ2,C,o,3,0),COLORYELLOW;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)
DRAWTEXT(JDU2,m9*0.978,'空-转-多'),COLORyellow;
{DRAWTEXT(cross(m6,m9),m9*0.98,'空-转-多'),COLORgreen;}