快线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLORRED;
慢线:SMA(快线,3,1),;
空:SMA(慢线,3,1),COLOR00FF00;
牛股:IF(BARSLAST(CROSS(慢线,空)) 9 AND CROSS(慢线,空) AND 慢线 20,90,0),STICK,COLORFF937F;
STICKLINE(牛股,0,90,1,0),COLORFF937F;
BB:=IF(BARSLAST(CROSS(慢线,快线)) =3 AND CROSS(快线,慢线) AND 慢线 30,20,0);
STICKLINE(BB,0,-20,3,0),COLORYELLOW;
IF(BB,-20,-40),COLORYELLOW;
DRAWICON(BB 0,-35,7);
AA:=IF(BARSLAST(CROSS(快线,慢线)) =4 AND CROSS(慢线,快线) AND 快线 50,20,0);
STICKLINE(AA,100,120,3,0),COLOR00FF00;
高卖:IF(AA,120,140),COLOR00FF00;
DRAWICON(AA 0,150,8);