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);
20;
CD:X_6/X_3/2*100,COLORRED;
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,NODRAW,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,LINETHICK3;
超强:IF(DH>30 AND DH>SH,DH,DRAWNULL),COLORCYAN,LINETHICK2;
DRAWICON(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),DH,42)*X_2;
DRAWICON(FILTER(CD>330 AND LLV(LOW,60)<MA(CLOSE,60)*1.05 AND REF(LOW,1)/MA(CLOSE,120)<=1.15,900),CD/1.2,13)*X_2;
DRAWICON(FILTER(CD>160 AND LLV(LOW,60)<MA(CLOSE,60)*1.05 AND REF(LOW,1)/MA(CLOSE,120)<=1.15,900),CD/1.2,14)*X_2;