文章 "构建K线图趋势约束模型(第8部分):EA的开发(一)"

 

新文章 构建K线图趋势约束模型(第8部分):EA的开发(一)已发布:

在本文中,我们将基于前文创建的指标,开发我们的第一个由MQL5语言编写的EA。我们将涵盖实现自动化交易所需的所有功能,包括风险管理。这将极大地帮助用户从手动交易转变为自动化交易系统。

MetaEditor软件包含一个编译器,能够有效地管理在分析尝试中检测到的错误。这个工具帮助我发现了为什么之前的版本未能按预期显示风险-回报矩形。尽管程序成功编译,但问题并不在于代码本身。相反,问题在于在历史K线图的范围内没有任何内容被显示,这主要是由于某些特定的技术细节导致。 
  1. 历史K线图的值默认设置过高,为5000根K线。
  2. 在单个程序中使用多个缓冲区会增加计算的复杂性,这可能会减缓指标图表窗口的显示速度。

Building a candlestick trend constraint model

    作者:Clemence Benjamin

     
    你好,我有一些错误,如何解决?

    2024.08.15 00:47:15.123 2024.08.01 00:00:00 无法加载自定义指标'Trend Constraint V1.09' [4802]
    2024.08.15 00:47:15.123 2024.08.01 00:00:00 'Trend_Constraint_Expert.mq5' 中的指标创建错误 (1,1)

     
    argatafx28 自定义指标'Trend Constraint V1.09' [4802]
    2024.08.15 00:47:15.123 2024.08.01 00:00:00 'Trend_Constraint_Expert.mq5' 中的指标创建错误 (1,1)

    您好@argatafx28

    1. 确保已安装指标 Trend Constraint V1.09,以便 EA 运行。
    2. Trend Constraint V1.09 使用ShellExecute 整合电报,您能否确保在启动指标时允许依赖 DLL?


    启用允许 DLL

    顺便问一下,您使用的是哪个操作系统?
    Building A Candlestick Trend Constraint Model (Part 5): Notification System (Part II)
    Building A Candlestick Trend Constraint Model (Part 5): Notification System (Part II)
    • www.mql5.com
    Today, we are discussing a working Telegram integration for MetaTrader 5 Indicator notifications using the power of MQL5, in partnership with Python and the Telegram Bot API. We will explain everything in detail so that no one misses any point. By the end of this project, you will have gained valuable insights to apply in your projects.