sergeev:
在日志中,倒数第三行,你能读懂吗?
能。指标本身是存在的,而且在图表上构建得非常好。直到要从智能交易系统中调用它。
在日志中,倒数第三行,你能读懂吗?
是的,动态链接库已启用。问题出在 GannTrendSignal.mqh 文件的 InitIndicators 函数中:
this.handle_main_swing = iCustom( this.m_symbol.Name( ), this.m_period, "GannMainTrend", 1000, false, false, 1, 1, LightCyan, LightGreen, LightPink, LightGreen, LightPink, 3 ); if( this.handle_main_swing == INVALID_HANDLE ) { printf("INVALID_HANDLE"); return( false ); }
this.m_symbol.Name( ),this.m_period
等于什么?
sergeev:
分别等于 USDJPY 和PERIOD_H1。
this.m_symbol.Name( ),this.m_period
分别等于
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков
- www.mql5.com
Стандартные константы, перечисления и структуры / Константы графиков / Периоды графиков - Документация по MQL5
嗨,迪马、
这是个好主意。如果我想编译您的源代码,会收到以下信息:
"无法打开 TextDisplay.mqh"。
让我们发布这个 include 吧。
谢谢。
dee544:
https://www.mql5.com/zh/articles/179
"无法打开 TextDisplay.mqh"
让我们发布这个 include。
谢谢。
Create your own Market Watch using the Standard Library Classes
- 2010.12.28
- Dmitriy Skub
- www.mql5.com
The new MetaTrader 5 client terminal and the MQL5 Language provides new opportunities for presenting visual information to the trader. In this article, we propose a universal and extensible set of classes, which handles all the work of organizing displaying of the arbitrary text information on the chart. The example of Market Watch indicator is presented.

新文章 小型趋势指标、中型趋势指标和主要趋势指标已发布:
本文基于 James Hyerczyk 所著《形态-价格-时间:甘氏理论在交易系统里的运用》一书中的某些理念,旨在探讨以指标和 《EA 交易》;形式进行自动化交易和分析的可能性。本文不敢自称内容详尽,在此我们只是探讨模型 - 甘氏理论的第一部分。
作者:Dmitriy Skub