Tag: mql4

如何从代码中调用DLL文件中的函数?

为什么第一个MessageBox()工作而第二个不工作? 我不知道问题出在哪里。 MQL5可以访问dll文件吗? 我需要调用读取JSON C#函数。 MetaEditor中没有出现错误。 C# .dll文件: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace TestMe { class Test { // [DllExport(“Add”, CallingConvention = CallingConvention.StdCall)] public static int Add(int left, int right) { return left + right; } public static int Sub(int left, int right) { return left – […]

我可以在MetaTrader4上使用MQL4以外的语言吗?

我的任务是将C#市场策略迁移到MetaTrader。 有没有办法自动完成这项工作? (例如,是否可以将C#解析为它的AST,然后进行翻译?) MetaTrader是否接受其他语言?