通达信【霹雳破晓】副图指标 四年平均胜率91.91 源码附图
B1 := EMA((EMA(CLOSE, 29) + EMA(CLOSE, 31) + EMA(CLOSE, 33)) / 3, 3);
B2 := EMA((2 * C + H + L) / 4, 3);
B3 := SLOPE(B2 * 5 - REF(B2, 5), 5) + C;
B4 := EMA(B3, 3) - EMA(B3, 13);
B5 := EMA(B4, 3);
B6 := IF(C > (EMA(((L + H + C * 2) / 4), 14) * 1.04) AND C > (EMA(((L + H + C * 2) / 4), 14)) AND C > B1 AND (B4 - B5) > 0, (B4 - B5), 0) AND REF(CCI, 1) < -50;
B7 := CLOSE / REF(CLOSE, 1) > 1.048 AND CLOSE = HIGH AND BETWEEN(FORCAST(VOL, 5), 0.3 * FORCAST(VOL, 12), 2.1 * FORCAST(VOL, 12));
XG: (B6 > 0 AND FILTER(B7, 10)) AND (H - C) / C * 100 < 1.06 ;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
B1 := EMA((EMA(收盘价, 29) + EMA(收盘价, 31) + EMA(收盘价, 33)) / 3, 3)
B2 := EMA((2 * C + H + L) / 4, 3)
B3 := SLOPE(B2 * 5 - 5日前的B2, 5) + C
B4 := B3的 3日指数移动平均 - B3的 13日指数移动平均
B5 := B4的 3日指数移动平均
B6 := IF(C > (EMA(((L + H + C * 2) / 4), 14) * 1.04) AND C > (EMA(((L + H + C * 2) / 4), 14)) AND C > B1 AND (B4 - B5) > 0, (B4 - B5), 0) AND 1日前的CCI < -50
B7 := 收盘价 / 1日前的收盘价 > 1.048 AND 收盘价 = 最高价 AND BETWEEN(FORCAST(成交量, 5), 0.3 * FORCAST(成交量, 12), 2.1 * FORCAST(成交量, 12))
输出XG: (B6 > 0 AND B7的 10过滤) AND (H - C) / C * 100 < 1.06