指标: Choppy market index

 

Choppy market index:

Choppy market index

Choppy market index

作者: Mladen Rakic

 

您好、

谁能告诉我如何在该指标中使用 iCustom函数

致以最崇高的敬意

nufan

 
Automated-Trading:

市场指数起伏不定

作者:姆拉登-拉基奇

在此阅读:https://www.mql5.com/zh/articles/43, iCustom 如何在 EA 中使用。

Dokumentation zu MQL5: Technische Indikatoren / iCustom
Dokumentation zu MQL5: Technische Indikatoren / iCustom
  • www.mql5.com
[in]  Name des Benutzerindikators mit dem Pfad in Bezug auf Ordnerverzeichnis der Indikators (MQL5/Indicators/). Wenn ein Indikator in einem Untervezeichnis liegt, zB. in  MQL5/Indicators/ [in] input-Parameter eines Benutzerindikators, die durch Kommas getrennt sind. Typ und Parameterfolge müssen entsprechen. Wenn Parameter nicht angegeben...
 

感谢您提供的链接!我之前已经找到了,但遗憾的是,描述对我没有帮助。我希望 icustom 能以默认值读取指标,如下所示:

CMI = iCustom(NULL,0, "Choppy market index",1,0);

但不幸的是,这不起作用。:-)

谢谢!
 

请认真(!!)阅读文章和文档:在编辑器中,将光标设置为 iCustom,然后 F1!

你期待什么并不重要,重要的是系统提供了什么:iCustom() 提供的是一个句柄,而不是值!

 
如何计算它是负数还是正数?
 
โช คณ # : เป้าว่ามันเป็นลหือบวก?
非常复杂......我也不懂这个指标
 
Maxguyver Kuze #:
非常复杂......我也不懂这个指标
使用设置为 20 期的动量指标。其余部分在说明中已清楚解释。
 
你好,Mladen,如何调用这个指标?我试过下面的方法。但得到的错误信息是 "2023.11.17 11:12:22.990 program file added:\Indicators\Choppy market index.ex5.11971 bytes loaded 2023.11.17 11:12:22.995 2023.11.06 01:00:00 cannot loadcustom indicator'Choppy market index' [4002] 2023.11.17 11:12:22.995 2023.11.06 01:00:00 指标创建错误 " 我是这样调用的: cmiValue = iCustom(_Symbol, _Period, "Choppy market index", 0,periodCMI, periodSMA, "ma_sma", inpLevel1, exitLevel, inpLevel3); smaValue = iCustom(_Symbol, _Period, "Choppy market index", 1, periodCMI, periodSMA, "ma_sma", inpLevel1, exitLevel, inpLevel3); 我编译了指标,没有问题。我可以添加到图表中。但在我的 EA 中使用它时,我遇到了上述问题。谢谢,秦