Roffild's Library - page 5

 
49f89v:

I have never gotten this error before "old build 2122 of tester agent":  ***

Any ideas?

***

tests do not pass.

 

Though Roffild has been kind enough to share . its horrible that he has not given any information on how to use his private library . i believe this were his private research and they have completely no documentation on how to reproduce his research.

it would be helpful. Anything you try out from this roffild library most likely will give you an error. if you want users to follow your research provide simple documentation on how to use it.

For Example : How do you run the RandomForest EA  or MLP tests ? if you try to run it on Strategy Tester you get an error . " Initialization file does not exist "  . Just simple steps . How to train it and run it, for example. 

 
Maybe this year it will be possible to collect all the pieces into a single library...
 
Hello, I am having some problems to run the sample code, apparently it is not being possible to load python3.dll. The variable path is as follows: "C: \\ Users \\ lucas \\ anaconda3". I did the installation according to the README file and copying the files to the MQL5 folder.
 
Hello.
I am currently setting up AWS with reference to MetaTrader 5 Agents & AWS EC2.
At this time, I would like to use an instance store (NVMe SSD) instead of EBS, but I do not know how to build it.
Please let me know how to do this.
 
Hi,
 Thank you for the great effort.

I would like to know if your pythonDLL wrapper can give access to call and get output of any/all MQL5 built-in functions using python code?

For example, can i call this ChartScreenshot() MQL function from python and save the chart output to a local folder?

If you can point out to me, where in your repo relevant examples are like this in python, it would be very helpful.

Thanks & Regards,
Dilip
 

Hi Roffild,


I am using your setup for AWS EC2 agents very extensively and its a life changer!

Usually I am starting around 6 instances with 1152 CPU's to support in all backtesting. Only thing I am still trying to figure out is if there is a possible setup on EC2 where we use automated fixed IP's or potentially the loadbalancer to not having to change the agents in MT5 everytime we load new EC2 instances? Have you perhaps found any way to support this already?


Thnx!

Lucas

 

You can use the AWS API to get a list of domains or IPs of running servers. And use this list to generate MT5 config.

You can use a local transparent proxy to forward ports from MT5 to AWS.

Strategy Optimization - Algorithmic Trading, Trading Robots - MetaTrader 5 Help
Strategy Optimization - Algorithmic Trading, Trading Robots - MetaTrader 5 Help
  • www.metatrader5.com
The Strategy Tester allows you to test and optimize trading strategies ( Expert Advisors ) before using them for live trading. During testing, an...
 

Hi, thanks for the library, but i need help for the python integration

I'm setting the python home like this: C:/ProgramData/miniconda37/envs/py37

because i've created a custom environment, but if i start a backtest whit your example code it crashes, even if i start it in live mode, metatrader5 crashed (it closes imself)!

If i change the path i get this error sometimes:

2024.04.21 11:45:48.501 2024.01.09 00:00:00   Access violation at 0x00007FFCC0F5F577 read to 0x0000000000000025
2024.04.21 11:45:48.501 2024.01.09 00:00:00      crash -->  00007FFCC0F5F577 0FB67825          movzx      edi, byte ptr [rax+0x25]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F57B 488B0526673500    mov        rax, [0x00007FFCC12B5CA8]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F582 488B0D27613500    mov        rcx, [0x00007FFCC12B56B0]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F589 C6402501          mov        byte ptr [rax+0x25], 0x01
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F58D E84E1C0000        call       0x00007FFCC0F611E0
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F592 488B0D0F673500    mov        rcx, [0x00007FFCC12B5CA8]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F599 40887925          mov        [rcx+0x25], dil
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F59D 488B7C2430        mov        rdi, [rsp+0x30]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5A2 4885C0            test       rax, rax
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5A5 7449              jz         0x00007FFCC0F5F5F0
2024.04.21 11:45:48.501 2024.01.09 00:00:00   
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5A7 483BC3            cmp        rax, rbx
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5AA 7421              jz         0x00007FFCC0F5F5CD
2024.04.21 11:45:48.501 2024.01.09 00:00:00   
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5AC 48FF00            inc        [rax]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5AF 488B0E            mov        rcx, [rsi]
2024.04.21 11:45:48.501 2024.01.09 00:00:00                 00007FFCC0F5F5B2 488906            mov        [rsi], rax
2024.04.21 11:45:48.501 2024.01.09 00:00:00   
2024.04.21 11:45:48.501 2024.01.09 00:00:00   00: 0x00007FFCC0F5F577
2024.04.21 11:45:48.501 2024.01.09 00:00:00   01: 0x000001DFE2A60030
2024.04.21 11:45:48.501 2024.01.09 00:00:00   02: 0x000001DFEB9FF040
2024.04.21 11:45:48.501 2024.01.09 00:00:00   03: 0x0000000000000101