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;
好股网:=MA(ABC,3);
DK笑脸:=SMA(好股网,3,1);
STICKLINE((好股网< DK笑脸),O,C,2,0),COLOR0000FF;
STICKLINE((好股网>DK笑脸),O,C,2,0),COLORGREEN ;
休息线:IF(好股网>DK笑脸,L,DRAWNULL),COLORBLUE,LINETHICK2 DOTLINE;
持股线:IF(好股网< DK笑脸,L,DRAWNULL),COLORMAGENTA,LINETHICK2 DOTLINE;
D:=BARSLASTCOUNT(好股网< DK笑脸)=1;
K:=BARSLASTCOUNT(好股网>DK笑脸)=1;
DRAWICON(D,L*1.025,5);
DRAWICON(K,H*1.025,6);