ABC1:=100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
ABC2:=100*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
ABC3:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
ABC4:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
ABC5:=100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34));
ABC:=(ABC1+(ABC2*0.618)+(ABC3*0.382)+(ABC4*0.236)+(ABC5*0.146))/2.382;
VAR1:=MA(ABC,3);
DK笑脸:=SMA(VAR1,3,1);
XG:BARSLASTCOUNT(VAR1< DK笑脸)=1;