通达信亮剑选股指标公式

ZFA := ((C / REF(C,1)) - 1) * 100;
ZFB := ((C / O) - 1) * 100;
ZF := MAX(ZFA,ZFB);
MA1 := MA(CLOSE,5);
MA2 := MA(CLOSE,10);
MA3 := MA(CLOSE,20);
MA4 := MA(CLOSE,60);
上针 := ((H - MAX(O,C)) * 100) / MAX(O,C);
下针 := ((MIN(O,C) - L) * 100) / L;
DIF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIF,9);
macd := (DIF - DEA) * 2;
DD := BArslASTCOUNT(MacD > 0);
XD8 := MA(REF(HHV(H,8),1),2);
XD13 := MA(REF(HHV(H,13),1),2);
XD21 := MA(REF(HHV(H,21),1),2);
XD34 := MA(REF(HHV(H,34),1),2);
XD55 := MA(REF(HHV(H,55),1),2);
XD89 := MA(REF(HHV(H,89),1),2);
QQ1 := (BARSLAST((((((((((((((COUNT(H > XD8,4)) = 1) AND (H > XD8)) OR crOSS(C,XD8)) OR (((COUNT(H > XD13,4)) = 1) AND (H > XD13))) OR CROSS(C,XD13)) OR (((COUNT(H > XD21,4)) = 1) AND (H > XD21))) OR CROSS(C,XD21)) OR (((COUNT(H > XD34,4)) = 1) AND (H > XD34))) OR CROSS(C,XD34)) OR (((COUNT(H > XD55,4)) = 1) AND (H > XD55))) OR CROSS(C,XD55)) OR (((COUNT(H > XD89,4)) = 1) AND (H > XD89))) OR CROSS(C,XD89))) <= 4;
QQ2 := (COUNT(REF(ZF,1) >= 5,3)) = 0;
QQ3 := ((((ZFB >= 1) AND (ZFA >= 2)) AND (上针 >= 3)) AND (下针 <= 1.5)) AND (上针 > ZF);
QQ4 := ((上针 >= 3) AND (上针 > MIN(ZFA,ZFB))) AND (((ZFB >= 1) AND (ZFA >= 2)) OR ((ZFB >= 2) AND (ZFA >= 1)));
QQ5 := (((ZF >= 5.5) AND (ZFA >= 5.5)) AND (上针 >= 3)) AND (下针 <= 1);
亮剑 : FILTER((((((((((((QQ3 OR QQ4) OR QQ5) AND QQ1) AND QQ2) AND (MA1 > REF(MA1,1))) AND (MA2 > REF(MA2,1))) AND (MA3 > REF(MA3,1))) AND ((COUNT(ZF >= 9,10)) = 0)) AND (C > MA4)) AND (MA2 > MA3)) AND (MA1 > MA2)) AND ((DD >= 6) OR ((BARSLAST(CROSS(DIF,DEA)) <= 4) AND (DIF > 0))),6);




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图