快线:SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),3,1),3,1),COLOR0000FF;
慢线:SMA(快线,3,1),COLOR00FFFF;
IF(crOSS(快线,慢线) AND (快线>30),快线+10,慢线),COLORYELLOW,LINETHICK1;
短卖:IF(CROSS(慢线,快线) AND (慢线>75),85,100),COLOR008000,LINETHICK2;
DRAWTEXT(CROSS(慢线,快线) AND 快线>75,95,'顶天 '),COLORWHITE;
金叉买:IF(CROSS(快线,慢线) AND (快线<40),35,0),COLOR0099FF,LINETHICK2;
DRAWTEXT(CROSS(快线,慢线) AND 快线<30,25,'立地 '),COLORWHITE;
rsi5:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1))/(SMA(Abs(CLOSE-REF(CLOSE,1)),3,1))*5;
wr10:=5*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
STICKLINE(RSI5-WR10>0,0,RSI5-WR10,1,0),COLORYELLOW;