PER:=14;
X_1:=POW(10,6)+241230-DATE;
X_2:=IF(X_1>0,1,0);
X_3:=SUM(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_4:=HIGH-REF(HIGH,1);
X_5:=REF(LOW,1)-LOW;
X_6:=SUM(IF(X_4>0 AND X_4>X_5,X_4,0),20);
X_7:=SUM(IF(X_5>0 AND X_5>X_4,X_5,0),20);
X_8:=LLV(LOW,240);
X_9:=HHV(HIGH,240);
DH:=(CLOSE-X_8)/X_8*100,COLORYELLOW;
ZH:=X_7/X_3/2*100,COLORMAGENTA;
SH:=(X_9-CLOSE)/CLOSE*100,COLORGREEN;
HH:=DH/SH,COLORWHITE;
X_10:=HHV(CLOSE,20);
X_11:=EMA(X_10,30)*1.03;
X_12:=EMA(X_10,120)*1.03;
X_13:=(CLOSE+HIGH+LOW)/3;
X_14:=EMA(X_13,10);
X_15:=REF(X_14,1);
看涨:=IF(DH>15 AND DH>ZH,DH,DRAWNULL),COLORYELLOW,LINETHICK2;
超强:=IF(DH>30 AND DH>SH,DH,DRAWNULL),COLORCYAN,LINETHICK2;
FILTER(看涨 OR 超强 AND DH>=HHV(DH,10) AND OPEN/X_14<1.08 AND OPEN/X_11<1.1 AND OPEN/X_12<1.2 AND CLOSE>X_11 AND CLOSE>=REF(CLOSE,1)*1.05 AND SH<60 AND DH<120,30);