牛熊:=18;
RSV:=(((CLOSE-LLV(LOW,(牛熊+3)))/(HHV(HIGH,(牛熊+3))-LLV(LOW,19)))*100);
FASTK:=(((SMA(RSV,8,1)-50)*1.4)+50);
D:=SMA(FASTK,8,1);
SSS:=SMA(D,8,1);
IF(D<=REF(D,1),D,DRAWNULL),COLOR005C00,LINETHICK8;
IF(D<=REF(D,1),D+1.5,DRAWNULL),COLOR007D00,LINETHICK8;
IF((D<=REF(D,1)),D+3,DRAWNULL)COLOR00B400,LINETHICK8;
IF((D<=REF(D,1)),D+4.5,DRAWNULL),COLOR00DE00,LINETHICK8;
IF((D<=REF(D,1)),D+6,DRAWNULL),COLOR00FF00,LINETHICK8;
IF(SSS>=REF(SSS,1),SSS,DRAWNULL),COLOR000082,LINETHICK8;
IF(SSS>=REF(SSS,1),SSS+1.5,DRAWNULL),COLOR00009D,LINETHICK8;
IF(SSS>=REF(SSS,1),SSS+3,DRAWNULL),COLOR0000B4,LINETHICK8;
IF(SSS>=REF(SSS,1),SSS+4.5,DRAWNULL),COLOR0000D6,LINETHICK8;
IF(SSS>=REF(SSS,1),SSS+6,DRAWNULL),COLOR0000FF,LINETHICK8;