通达信倍缩洗盘及选股指标公式

 

XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04 OR CLOSE/OPEN>=1.03 AND (vol<=MA(VOL,60) OR VOL/REF(VOL,1)<=1.2 OR VOL<HHV(VOL,5)) AND HIGH>LOW;
XA_2:=(OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));
XA_3:=VOL/REF(VOL,1)<=0.5 AND REF(VOL,2)>REF(VOL,1) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
XA_4:=REF(XA_2,1) AND VOL/REF(VOL,1)<=0.52;
XA_5:=REF(XA_2,1) AND VOL/REF(VOL,1)<=0.52 AND CLOSE>OPEN;
倍缩:XA_3 OR XA_4 AND HIGH>LOW AND REF(VOL,2)>REF(VOL,1),NODRAW;
STICKLINE(倍缩 AND NOT(DATE=1160107),0.37,0,5,0),COLORYELLOW;
XA_6:=VOL>REF(VOL,1)*0.5 AND CLOSE>OPEN;
XA_7:=COUNT(倍缩,5) AND (XA_6 OR XA_5 OR REF(XA_5,1)) AND (REF(VOL,1)/REF(VOL,2)<=1.98 OR REF(XA_2,1));
企稳:FILTER(XA_7,5) AND NOT(DATE=1160108) AND REF(CLOSE,1)<REF(OPEN,1),COLORRED,LINETHICK2;
反弹:IF(企稳 AND (XA_1 OR (CLOSE>OPEN AND VOL/REF(VOL,1)>=1.95) OR (CLOSE>REF(OPEN,1) AND REF(CLOSE,1)<REF(OPEN,1) AND VOL/REF(VOL,1))),1.5,0),COLORYELLOW,LINETHICK2;

{
选股公式:

XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04 OR CLOSE/OPEN>=1.03 AND (VOL<=MA(VOL,60) OR VOL/REF(VOL,1)<=1.2 OR VOL<HHV(VOL,5)) AND HIGH>LOW;
XA_2:=(OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));
XA_3:=VOL/REF(VOL,1)<=0.5 AND REF(VOL,2)>REF(VOL,1) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
XA_4:=REF(XA_2,1) AND VOL/REF(VOL,1)<=0.52;
XA_5:=REF(XA_2,1) AND VOL/REF(VOL,1)<=0.52 AND CLOSE>OPEN;
XA_6:=XA_3 OR XA_4 AND HIGH>LOW AND REF(VOL,2)>REF(VOL,1);
XA_7:=VOL>REF(VOL,1)*0.5 AND CLOSE>OPEN;
XA_8:=COUNT(XA_6,5) AND (XA_7 OR XA_5 OR REF(XA_5,1)) AND (REF(VOL,1)/REF(VOL,2)<=1.98 OR REF(XA_2,1));
XA_9:=IF(NAMELIKE(1),0,1);
XA_10:=IF(NAMELIKE(2),0,1);
XA_11:=DYNAINFO(7)>2 AND DYNAINFO(7)<270 AND NOT(DYNAINFO(4)=0);
XA_12:=XA_9 AND XA_10 AND XA_11;
XA_13:=FILTER(XA_8,5) AND NOT(DATE=1160108) AND REF(CLOSE,1)<REF(OPEN,1);
XA_14:=FILTER(XA_8,5) AND NOT(DATE=1160108) AND REF(CLOSE,1)<REF(OPEN,1) AND (XA_1 OR (CLOSE>OPEN AND VOL/REF(VOL,1)>=1.95));
XG:XA_13 OR XA_14 AND XA_12;
}




来函数检测结果如下
该公式包含未来函数:DYNAINFO

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

XA_1赋值:(收盘价-1日前的收盘价)/1日前的收盘价>=0.04 OR 收盘价/开盘价>=1.03 AND (成交量(手)<=成交量(手)的60日简单移动平均 OR 成交量(手)/1日前的成交量(手)<=1.2 OR 成交量(手)<5日内成交量(手)的最高值) AND 最高价>最低价
XA_2赋值:(开盘价-收盘价)/开盘价>=0.04 AND (成交量(手)/成交量(手)的60日简单移动平均<=2/3 OR 成交量(手)/1日前的成交量(手)<=1.15 OR 成交量(手)<5日内成交量(手)的最高值)
XA_3赋值:成交量(手)/1日前的成交量(手)<=0.5 AND 2日前的成交量(手)>1日前的成交量(手) AND 1日前的收盘价<1日前的开盘价 AND 收阴线
XA_4赋值:1日前的XA_2 AND 成交量(手)/1日前的成交量(手)<=0.52
XA_5赋值:1日前的XA_2 AND 成交量(手)/1日前的成交量(手)<=0.52 AND 收阳线
输出倍缩:XA_3 OR XA_4 AND 最高价>最低价 AND 2日前的成交量(手)>1日前的成交量(手),NODRAW
当满足条件倍缩ANDNOT(日期=1160107)时,在0.37和0位置之间画柱状线,宽度为5,0不为0则画空心柱.,画黄色
XA_6赋值:成交量(手)>1日前的成交量(手)*0.5 AND 收阳线
XA_7赋值:统计5日中满足倍缩的天数 AND (XA_6 OR XA_5 OR 1日前的XA_5) AND (1日前的成交量(手)/2日前的成交量(手)<=1.98 OR 1日前的XA_2)
输出企稳:XA_7的5日过滤 AND 取反 AND 1日前的收盘价<1日前的开盘价,画红色,线宽为2
输出反弹:如果企稳AND(XA_1OR(收盘价>OPENANDVOL/1日前的成交量(手)>=1.95)OR(收盘价>1日前的开盘价ANDREF(收盘价,1)<1日前的开盘价ANDVOL/1日前的成交量(手))),返回1.5,否则返回0,画黄色,线宽为2

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图