空转多
m9:ma(c,9),colorwhite;
ma23:ema(c,23),COLORyellow;
m43:=Ema(c,43),COLORRED;
m47:ma(c,47),color00ff00;
m48:Ema(m47,3),color00ff00;
m49:ema(m48,3),colorf00ff0;
m50:Ema(m49,3),colorf00ff0;
MA60:eMA(CLOSE,60),COLORred,LINETHICK2;
stickline(c<=o,C,o,8,0),colorf0f000;
stickline(c<=o,H,L,0.1,0),colorf0f000;
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;
|