X_1:=(CLOSE*2+HIGH+LOW+OPEN)/5;
X_2:=(EMA(X_1,4)+MA(X_1,8)+MA(X_1,16))/3;
X_3:=(EMA(X_1,9)+MA(X_1,18)+MA(X_1,36))/3;
X_4:=(EMA(X_1,13)+MA(X_1,26)+MA(X_1,52))/3;
X_5:=(EMA(X_1,24)+MA(X_1,48)+MA(X_1,96))/3;
X_6:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
X_7:=MAX(MAX(X_2,X_3),MAX(X_4,X_5));
X_8:=MIN(MIN(X_2,X_3),MIN(X_4,X_5));
龙:FILTER(HIGH>X_7 AND LOW<X_8 AND X_2>REF(X_2,1) AND X_3>REF(X_3,1) AND X_5>REF(X_5,2) AND (X_7-X_8)/X_8<0.04 AND CLOSE>OPEN AND (HIGH-CLOSE)/(CLOSE-OPEN)<0.4,3);