在此阅读:https://www.mql5.com/zh/articles/43, iCustom 如何在 EA 中使用。
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...
如何计算它是负数还是正数?
你好,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 中使用它时,我遇到了上述问题。谢谢,秦
Choppy market index:
Choppy market index
作者: Mladen Rakic