VAR11:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR12:=REF(VAR11,1);
VAR13:=SMA(maX(VAR11-VAR12,0),10,1)/SMA(Abs(VAR11-VAR12),10,1)*100;
VAR14:=REVERSE(VAR13)+100;
DBBY:=IF(COUNT(VAR13<=14,2),30,0);
A1:=((MA(C,60)-L)/MA(C,20))*200;
B1:=((MA(C,60)-L)/MA(C,60))*200;
C1:=((MA(C,30)-L)/MA(C,60))*200;
M1:=REF(CLOSE,1);
M2:=SMA(MAX(CLOSE-M1,0),7,1)/SMA(ABS(CLOSE-M1),7,1)*100;
G1:=FILTER(REF(M2,1)<20 AND M2>REF(M2,1),5);
TU:=C/MA(C,40)<0.74;
PER1:=5;
MMA:=EMA(C,PER1);
SMMA:=EMA(MMA,PER1);
IMPETMMA:=MMA - REF(MMA,1);
IMPETSMMA:=SMMA - REF(SMMA,1);
DIVMA:= ABS(MMA - SMMA);
TDJ:=(H-L)/REF(C,1)>0.05;
AVERIMPET:= (IMPETMMA+IMPETSMMA)/2;
TDF:= POW(DIVMA,1)*POW(AVERIMPET,3);
NTDF:=TDF/HHV(ABS(TDF),PER1*3);
YUL:=COUNT(TDJ,5)>1;
QD1:=TU AND TDJ AND YUL;
QD2:=crOSS(NTDF,-0.9);
BD1:=FILTER((G1 AND C1>20 OR C>REF(C,1)) AND REF(QD1,1),10);
XX1:=FILTER(REF(QD1,1) AND (QD2 OR C>REF(C,1)) AND "macd.MacD">-1.5,10);
YD1:=COUNT(XX1,13)>=1 AND BD1;
有龙2:DBBY AND YD1;