A1 := EMA(INDEXC,12) - EMA(INDEXC,26);
A2 := EMA(A1,9);
D1:=A1>A2 and a1>ref(a1,1) and a2>ref(a2,1);
b1:=ma(c,10);
b2:=c;
d2:=cross(b2,b1)and b1>ref(b1,1);
买入:FILTER(d1 and d2,10),colorred;
A1 := EMA(INDEXC,12) - EMA(INDEXC,26);
A2 := EMA(A1,9);
D1:=A1>A2 and a1>ref(a1,1) and a2>ref(a2,1);
b1:=ma(c,10);
b2:=c;
d2:=cross(b2,b1)and b1>ref(b1,1);
买入:FILTER(d1 and d2,10),colorred;