aa:(ema(c,3)+ema(c,6)+ema(c,12)+ema(c,24))/4,coloryellow;
if(aa>=ref(aa,1),aa,0),LINETHICK2,COLORyellow,circledot;
if(aa<ref(aa,1),aa,0),LINETHICK2,COLORff9900,circledot;
STICKLINE(C>aa,L,H,0.1,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C<aa,C,O,4,1),COLORFFFF00;
STICKLINE(C<aa,C,O,4,1),COLOR00FF00;
STICKLINE(C<aa,L,H,0.1,1),COLOR00FF00;
止损:=MA(c,9),linethick1;
止损a:IF(止损>REF(止损,1),止损,REF(止损,BArslAST(止损>REF(止损,1)))),
LINETHICK4,color0099ff;
ma3:ema(c,3),colorff9900;
ma5:ema(c,5),colorffffff;
ma20:ema(c,20),colorff99ff;
ma30:ema(c,30),color00ffff;
ma60:ema(c,60),color00ff00;
ma120:ema(c,120),coloraaaaaa;
ma250:ema(c,250),color4080ff;