SJ:=1;
MA20:MA(C,20)*SJ,COLOR0000FF;
MA60:MA(C,60)*SJ,COLOR0000FF,LINETHICK2;
MA120:MA(C,120)*SJ,COLORFF00FF,LINETHICK3;
XCLOSE2:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
IF((MA20>=XCLOSE2),MA20,DRAWNULL),COLOR00FFFF;
IF((MA20<XCLOSE2),MA20,DRAWNULL),COLOR0000FF;
XCLOSE3:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
IF((MA60>=XCLOSE3),MA60,DRAWNULL),LINETHICK2,COLOR00FF00;
IF((MA60<XCLOSE3),MA60,DRAWNULL),LINETHICK2,COLOR0000FF;
XCLOSE5:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
IF((MA120>=XCLOSE5),MA120,DRAWNULL),LINETHICK3,COLORFF0000;
IF((MA120<XCLOSE5),MA120,DRAWNULL),LINETHICK3,COLORFF00FF;
AA:=CROSS(MA20,MA60);
BB:=CROSS(MA20,MA120);
CC:=CROSS(MA60,MA120);
DRAWTEXT_FIX(C>O,0.01,0.01,0,' 股票指标网'),COLOR666666;
{DRAWTEXT(FILTER(COUNT(AA OR BB OR CC ,30)>1, 30),HIGH*1.003,'金叉'),COLORRED;
DD:=CROSS(MA60,MA20);
EE:=CROSS(MA120,MA20);
FF:=CROSS(MA120,MA60);
DRAWTEXT(FILTER(COUNT(EE OR DD OR FF ,30)>1, 30),LOW*0.998, '死叉'),COLORGREEN;};