请老师将副图买进做选股 源码如下 VARA11:=EMA(DCLOSE,12)-EMA(DCLOSE,26); VARA12:=EMA(VARA11,9); VARA13:=(VARA11-VARA12)*2*60; VARA14:=10; VARA15:=VARA13-REF(VARA13,1); DIF2:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA2:=EMA(DIF2,9); AAA:=(DIF2-DEA2)*2*60; A:=CROSS(VARA15,VARA14); A1:=IF(A,1,0); A2:=CROSS(AAA-REF(AAA,1),15); B:=A1 AND A2; DRAWTEXT(FILTER(B=1,5),LOW,' 买进'),COLORFF00FF;
爱约股解答:
VARA11:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
VARA12:=EMA(VARA11,9);
VARA13:=(VARA11-VARA12)*2*60;
VARA14:=10;
VARA15:=VARA13-REF(VARA13,1);
DIF2:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA2:=EMA(DIF2,9);
AAA:=(DIF2-DEA2)*2*60;
A:=CROSS(VARA15,VARA14);
A1:=IF(A,1,0);
A2:=CROSS(AAA-REF(AAA,1),15);