MA3D:=MA(C,3);
MA5D:=MA(C,5);
ZX:=(MA3D+MA5D)/2;
MA20D:=MA(C,20);
MA30D:=MA(C,30);
QSXS:=MA5D>=MA30D AND MA30D>REF(MA30D,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
买:=CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,LINETHICK0;
优:=买 AND MA5D>REF(MA5D,1),COLORYELLOW,LINETHICK0;
伏击优选:优;