SS:=((((((CROSS(EMA30,EMA60) AND (CLOSE > OPEN)) AND (CLOSE > REF(CLOSE,1))) AND ((CLOSE / REF(CLOSE,1)) >= 1.018)) OR (((CROSS(EMA30,EMA120) AND (CLOSE > OPEN)) AND (CLOSE > REF(CLOSE,1))) AND ((CLOSE / REF(CLOSE,1)) >= 1.018))) OR (((CROSS(EMA60,EMA90) AND (CLOSE > OPEN)) AND (CLOSE > REF(CLOSE,1))) AND ((CLOSE / REF(CLOSE,1)) >= 1.018))) OR (((CROSS(EMA30,EMA90) AND (CLOSE > OPEN)) AND (CLOSE > REF(CLOSE,1))) AND ((CLOSE / REF(CLOSE,1)) >= 1.018)));
DRAWICON(SS,(LOW - 0.04),1);
FA:=(BARSLAST(CROSS(MA(CLOSE,60),MA(CLOSE,20))) AND CROSS(MA(CLOSE,20),MA(CLOSE,60)));
TT1:=((CROSS(MA(CLOSE,20),MA(CLOSE,120)) AND CROSS(MA(CLOSE,20),MA(CLOSE,250))) AND (VOL > REF(VOL,1)));
TT2:=(((MA(CLOSE,20) > REF(MA(CLOSE,20),2)) AND (VOL > REF(VOL,1))) AND CROSS(CLOSE,MA(CLOSE,20)));
DRAWTEXT(TT1,(LOW - 0.13),'金叉');
STICKLINE(TT2,LOW,(LOW - 0.09),4,0);
DRAWTEXT(TT2,(LOW - 0.13),'买');
STICKLINE(((((MA(CLOSE,120) >= REF(MA(CLOSE,120),1)) AND CROSS(CLOSE,MA(CLOSE,20))) AND CROSS(CLOSE,MA(CLOSE,120))) AND (VOL > REF(VOL,1))),LOW,(LOW - 0.09),4,0),COLORFF00FF;
DRAWTEXT(((((MA(CLOSE,120) >= REF(MA(CLOSE,120),1)) AND CROSS(CLOSE,MA(CLOSE,20))) AND CROSS(CLOSE,MA(CLOSE,120))) AND (VOL > REF(VOL,1))),(LOW - 0.13),'买'),COLORFF00FF;