源码
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
MID := MA(C,26);
SG:= MID + 2*STD(C,26);
TJ:=SG>REF(SG,1);
tx:=C>ma(c,34);
zx:=C>ma(c,52);
颈线:=BARSLAST(长期=100);
月涨幅:=SUM((C-REF(C,1))/REF(C,1)*100,30);
QYD:=REF(颈线,1)+1;
阳买:颈线=0 AND QYD>=20 AND TJ AND TX AND ZX;
D1:=BARSLAST(阳买);
阴买:BETWEEN(长期 ,55 ,85 ) AND 短期<50 AND D1<=20 AND 月涨幅<15 AND TJ AND TX AND ZX;