Off-topic posts - page 191

Ryan L Johnson #:

I beg to differ. Both my U.S. personal bank and my U.S. business bank have blocked transactions involving Cyprus. Those are private bank policies resulting from secondary geopolitical factors not appropriate for discussion in this Forum.

Respectfully, I can do without creating potential KYC issues for myself. Some broker-dealers use AI to analyze online reviews and forums as part of the KYC process.

I suspect Thomas means Bank Transfer.


[edit]

I left a comment first, and then I read this:

Now I’m Captain Obvious.
Vladislav Boyko #:
Now I’m Captain Obvious.

😂 I sometimes admit that too, even when others correct me to say that obvious things can help.

At the end of the day, U.S. withdrawals depend on the bank used. The wire transfer is a backdoor solution for MetaQuotes if you're willing to "ride the tiger." However, a wire transfer does not alter a broker-dealer's KYC process. If a U.S. broker-dealer discovers that its customer-trader receives funds from a source that it and/or its liquidity providers prohibit, that can cause account termination among other things. An online search readily reveals the nature of secondary geopolitical factors that underlie individual bank blacklists on Cypriot funds. Again, I'm not here to smear any nation. If anyone would simply rather not know, then simply don't search.

Speaking of Capitan Obvious. There are still areas that AI cannot handle. Unfortunately, in many cases, these cannot be implemented in MQL either without using a DLL.
Ryan L Johnson # :

That's a really good point!

The first draft of any EA that I code is basically "blind" other than entries and exits. If my test of that first draft EA doesn't approach a profit factor of 2.0 (or other impressive stats), I don't bother to refine that first draft. By the time that weekends, overnights, hours, spread, commission, swaps, and slippage are factored into a subsequent draft, a weak first draft simply isn't worth the effort─because of the "disappearing edge" that you mention.

Put simply, I don't spend time trying to resurrect a junk EA. Also, I really can't even recall the last time that I used the Optimizer.

Hi @Ryan L Johnson , I'd like to understand why you don't take advantage of EAs with a profit factor lower than 2.0. Scalping EAs could be a good option, right?

Ivan Titov #:
Speaking of Capitan Obvious. There are still areas that AI cannot handle. Unfortunately, in many cases, these cannot be implemented in MQL either without using a DLL.

I don't know the specific "areas" to which you refer, but the MT5-integrated AI Assistant can very well write DLL files. Of course, you must know how to configure the Assistant for maximum capability:

Prompt: Without editing any preexisting files, tell me whether you can write DLL files.

Response: 

Yes — I can create DLL files here, but not with MetaEditor. The MQL5 compiler only produces .ex5 , so a native DLL has to come from the external C++ toolchain, which this machine does have.

What the environment actually shows

Fact Value
Terminal build / arch 6361, x64 ( cpu_architecture: AVX2 + FMA3 )
DLL imports in terminal experts_dll_allowed: true
MSVC present — C:\Program Files\Microsoft Visual Studio\18\Community (MSBuild + Windows SDK 10)
MQL5 compiler present, build 6361 (produces .ex5 only)
MQL5\Libraries exists, currently empty (no existing DLL to disturb)
Write roots ...\F54BC9D2...\MQL5 , ...\Terminal\Common

So the pieces needed for a working DLL pipeline are all here: a C++ compiler, an x64 target matching the terminal, and a DLL delivery folder ( MQL5\Libraries ) inside an allowed write root.

What "I can write a DLL" concretely means

  • I write new .cpp / .h / .def files (e.g. under MQL5\Files\Temp ) and the compiled .dll lands in MQL5\Libraries . No preexisting file is touched — that constraint is satisfiable.
  • I build with cl.exe / MSBuild invoked through the shell, with sources, objects and outputs all inside the MQL5 write root.
  • The MQL5 side then uses #import "name.dll" with extern "C" __declspec(dllexport) entry points; the DLL must be 64-bit (mandatory for x64 MT5) and is loaded from MQL5\Libraries .

Honest caveats

  1. Toolchain is outside the workspace roots. cl.exe and the SDK headers live under C:\Program Files\... , beyond the read_roots returned by pre-flight. I treat the compiler as a tool invocation (allowed for builds whose sources/outputs are in the roots), but if the shell environment refuses it, the fallback is: I deliver the C++ sources plus a build.bat inside MQL5\Files\Temp and you run that one batch file.
  2. Not yet verified by an actual build. I have not executed a compile in this session — only read the reported capability. I can prove it in one step.
  3. DLL loading is a trust boundary. experts_dll_allowed is already true terminal-wide, so any imported DLL executes with full user rights. I'd keep any DLL I write narrow and side-effect-free (pure math/serialization), and I won't add network, registry, process or credential access unless you ask for it explicitly.
  4. Distribution reality. A DLL breaks the usual "one .ex5 is portable" model — users need the right architecture and the file in MQL5\Libraries . If the goal is just speed or shared logic, note that .ex5 + .mqh is usually the better trade-off.

Verification I can run on request (creates only new files)

A hello-world x64 DLL: one scratch .cpp in MQL5\Files\Temp , build to MQL5\Libraries\mta_test.dll , confirm it exports correctly, then delete both artifacts. Say the word and I'll run it.

No files were created, modified, or deleted in this session — this was a read-only capability check.

Comments that do not relate to this topic, have been moved to "Off-topic posts".
Ryan L Johnson #:
I don't know the specific "areas" to which you refer, but the MT5-integrated AI Assistant can very well write DLL files.
Yes, but my post wasn't about creating a DLL; it was about using a DLL in products on the Market. An example of such an "area" is here.
Новая версия платформы MetaTrader 5 build 6380: более 40 новых AI-инструментов
Новая версия платформы MetaTrader 5 build 6380: более 40 новых AI-инструментов
  • 2026.11.30
  • www.mql5.com
В пятницу, 4 декабря 2026 года, будет выпущена обновленная версия платформы MetaTrader 5...