DIR:=Abs(CLOSE-REF(CLOSE,10));
VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER:=DIR/VIR;
CS:=SMA(ER*(2/3-2/14)+2/14,3,1);
CQ:=CS*CS*CS;
裁决:=Ema(MA(CLOSE,10-CS*10),2);
AS:=96;
AD:=106;
CD:=C/裁决*100;
OD:=OPEN/裁决*100;
OH:=H/裁决*100;
OL:=L/裁决*100;
A1:=OL<AS;
A2:=C>O;
A3:=crOSS(CD,AS);
XG:=A1 AND A2 AND A3 ;
红球:XG;