VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
VAR4:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
T1:=VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2);
T2:=C>O*1.03;
T3:=V>0;
T4:=NOT(NAMELIKE('S') OR NAMELIKE('*S'));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2; T5:=REF(MACD,1)>0;
T6:=DIF>DEA;
前高:=HHV(MACD,26); T7:=REF(DIF,1)<前高;
T8:=REF(MACD,1)<0.2; T10:=REF(MA(C,5),1)>REF(MA(C,10),1);
T9:=REF(DIF,1)<0.2;
T11:=MA(C,5)>MA(C,10);
神龙摆尾:T1 AND T2 AND T3 AND T4 AND T5 AND T6 AND T7 AND T8 AND T9 AND T10 AND T11;
DRAWBAND(神龙摆尾,RGB(255,0,0),0,RGB(0,255,0));