X_1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
买卖力道:=SMA(X_1,3,1),COLORLIGRAY;
X_2:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
X_3:=IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE<OPEN,X_2*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-X_2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_2*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-X_2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_2*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE<OPEN,X_2*(HIGH-OPEN+CLOSE-LOW),VOL/2));
X_4:=AMOUNT/(100*VOL);
X_5:=MA(X_4,40);
X_6:=100*(CLOSE-X_5)/X_5;
X_7:=IF(X_3>0 AND X_6<(-12) AND CLOSE/OPEN>1.08,300,200);
X_8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
X_9:=SMA(X_8,3,1);
X_10:=SMA(X_9,3,1);
D:=SMA(X_10,5,1)*20,COLORCYAN;
X_11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_12:=EMA(X_11,3);
X_13:=(X_12-REF(X_12,1))/REF(X_12,1)*100;
X_14:=X_12<=13 AND X_13>13;
X_15:=X_12>=90 AND X_13 AND FILTER(X_12>=90 AND X_13,10);
X_16:=FILTER(X_12>=90 AND X_13 AND crOSS(D,买卖力道),5);
卖出区:=X_16+1800,COLORYELLOW;
中:=(0+卖出区)/2,COLORGREEN;
XG:CROSS(D,中);