以下是通达信突破20均线 主图/选股 源码 贴图(无源码的请下载附件导入)
M20:MA(C,20),COLORLIRED,DOTLINE;
T1:=BARSLAST(CROSS(C>=M20,0.5));
T2:=BARSLAST(CROSS(C<M20,0.5));
T3:=SUMBARS(T1=0,2);
ZF:=(C-REF(C,T1+1))/REF(C,T1+1)*100;
HZF:=REF(HHV(ZF,T1+1),T2);
DF:=(C-REF(C,T2+1))/REF(C,T2+1)*100;
LDF:=LLV(DF,T2+1);
L1:=LLV(L,T2+1);
L2:=REF(L1,T3-1);
AC:=COUNT(T2=0,T3)=1;
AC1:=O<M20 AND C>=M20 AND HZF<15 AND LDF>-25 AND LDF<-10;
AC2:=REF(T1,T2)>1 AND T2>1 AND MACD.DIF>MACD.DEA AND MACD.MACD>REF(HHV(MACD.DIF,2),1);
AC3:=HSL<REF(HSL,T2) AND LLV(L,T2+1)>BOLL.LB*0.9 AND HHV(L,T2+1)<M20;
AC4:=AMOUNT>REF(AMOUNT,1);
XG:=AC AND AC1 AND AC2 AND AC3 AND AC4;
DRAWICON(XG,L,1);
72388151.jpg
|