M1:=5;M2:=10;M3:=20;M4:=30;M5:=30;M6:=60;M7:=120;M8:=250;MA5:MA(CLOSE,M2);MA10:MA(CLOSE,M3), COLORLIGREEN,LINETHICK3;MA20:MA(CLOSE,M4);MA30:MA(CLOSE,M5),COLORRED,LINETHICK3;MA60:MA(CLOSE,M6);MA120:MA(CLOSE,M7);MA250:MA(CLOSE,M8);AA:=C>MA(C,250);BB:=REF(C,1)
1.05;{DD:=/MA(,3)>1.6;}:=AA AND BB AND CC ;STICKLINE(放量突破年线,OPEN,CLOSE,0.8,1);DRAWTEXT(放量突破年线,L,'关注');