VAR0:=EMA(CLOSE,2.5);
VAR1:=EMA(CLOSE,5);
趋势线:EMA(VAR1,2.5),COLORF00FF0;
VAR2:=EMA(CLOSE,1);
VAR3:=EMA(EMA(LOW,2),5);
VAR4:=MA(CLOSE,130);
VAR5:=MA(CLOSE,10);
DRAWTEXT(VAR0 > 趋势线,HIGH * 1.03,'▲'),ALIGN1,COLORRED;
DRAWTEXT(VAR0 < VAR1,HIGH * 1.03,'▲'),ALIGN1,COLORGREEN;
{-股票公式网站 }
DRAWTEXT(CLOSE < VAR3 AND CLOSE > MA(CLOSE,30),HIGH * 1.03,'▲'),ALIGN1,COLORGREEN;
DRAWTEXT(CLOSE > VAR3 AND CLOSE > MA(CLOSE,30),HIGH * 1.03,'▲'),ALIGN1,COLORRED;
DRAWTEXT(VAR0 > 趋势线 AND CLOSE < MA(CLOSE,30),HIGH * 1.03,'▲'),ALIGN1,COLORRED;
DRAWTEXT(VAR0 < VAR1 AND CLOSE < MA(CLOSE,30),HIGH * 1.03,'▲'),ALIGN1,COLORGREEN;