A1:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18));
R18:=A1-0.5;
MR3:=MA(R18,3);
操作:=EMA(A1,5)-0.5;
阻力:=EMA(A1,21)-0.5;
棒:=(操作-阻力);
反弹买:REF(棒<0,1) AND REF(COUNT(crOSS(R18,MR3),6)=1,1)AND CROSS(R18,MR3)AND 棒>REF(棒,1);
A1:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18));
R18:=A1-0.5;
MR3:=MA(R18,3);
操作:=EMA(A1,5)-0.5;
阻力:=EMA(A1,21)-0.5;
棒:=(操作-阻力);
反弹买:REF(棒<0,1) AND REF(COUNT(crOSS(R18,MR3),6)=1,1)AND CROSS(R18,MR3)AND 棒>REF(棒,1);