m9:ma(c,9);
m6:Ema(c,60),COLORRED,LINETHICK0;
ma23:ema(c,23),COLORyellow;
m43:Ema(c,43),COLORRED;
m47:ma(c,47),colorgreen;
m48:Ema(m47,3),colorgreen;
m49:ema(m48,3),COLORff00ff;
m50:Ema(m49,3),COLORff00ff;
MA60:eMA(CLOSE,60),COLORred,LINETHICK2;
{stickline(c<=o,C,o,8,0),COLORffcc66;
stickline(c<=o,H,L,0.1,0),COLORffcc66;
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<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,m9*0.978,'空转多'),COLORyellow;
DRAWTEXT(cross(m6,m9),m9*0.98,'空转多'),COLORwhite;