ma5:ema(c,5); ma10:ema(c,10); ma20:ema(c,20); vv1:=cross(ma5,ma10) and ma10>=ref(ma10,1) and c>ma5; xg:if(vv1,5,0);