均线上10%:(C-MA(C,30))/MA(C,30)*100>10;均线下15%:(C-MA(C,30))/MA(C,30)*100<-15;
a1:=c>ma(c,30) and (c-ma(c,30))/ma(c-30)*100<10;a2:=cb:a1 or a2;