联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

突破20均线【主图 选股 通达信 源码 贴图】

2016-10-10 11:09:31点击:

股价突破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);



选股源码

M20:=MA(C,20);
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;