欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

Momentum-M15 - MetaTrader 5 专家

author emer | 835 人阅读 | 0 人评论 |

Momentum-M15 - expert for MetaTrader 5

Momentum-M15 - expert for MetaTrader 5

想法来自:谢尔盖·德耶夫

MQL5 代码由:弗拉基米尔·卡尔普托夫

EA 根据两个指标进行交易:iMA(移动平均线,MA)和 iMomentum(动量)。 The EA also takes into consideration the Close prices of bar #1 and the Open prices of bar #0 at opening the positions, and the Close prices of bar #1 and the High prices of bar #0 and the Low prices of bar #0 at closing or trailing the positions.

EA 仅在形成新柱时起作用,并且仅允许在市场中持有一个头寸。

在优化中,我建议使用遗传算法和“1 分钟 OHLC”刻度生成模式。可以在以下位置搜索参数和时间范围的示例:

Momentum-M15 - expert for MetaTrader 5

使用“价值”列的参数对 USDJPY 交易品种 H1 进行测试(但是,为了更好地验证,此测试是在“基于实际报价的每个报价”报价生成模式下执行的)。

Momentum-M15 - expert for MetaTrader 5


附件下载

📎 momentum-m15.mq5 (52.82 KB)

Source: MQL5 #20545

🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录