Forum

I believe OrderCalcMargin is bugged

Hello. I'm using latest MT5 terminal. (5.0.0 build 4620) I'm trying to use this function with strategy tester. Symbol: BTCUSD Account size: 10000 Leverage: 1:1 Here's an example output when I'm trying to debug it inside Trade\AccountInfo.mqh (the MaxLotCheck function): if (! OrderCalcMargin

System hangs when optimizing with agents

Hello. I am running the optimizer on my laptop and I have agents linked to my PC. I just bought a new motherboard and cpu with 12 cores. When I start optimization, Windows on my pc starts to hang even when I only use 6 agents. The cpu is around 2%-5%, the ram is ok and it's running on a disk that

FileOpen with Strategy Tester

Hello. I have code that opens a file using int file_handle = FileOpen (file_name, FILE_READ | FILE_COMMON | FILE_TXT ); ...... FileClose(file_handle); If I run it with optimization disabled and visual mode disabled, it runs fine the first time, but after that any additional runs return

Strategy tester: Reading a local file when using agents

Hi. My EA is reading a json file which I've placed in the common folder (using FILE_COMMON flag in FileOpen). When optimizing it works fine, but once I add agents on my other PC, it can't find the file even though I've placed it in the common files folder on that machine. What am I doing wrong

Strategy tester and many "INIT_PARAMETERS_INCORRECT" bug

Hello. I have on my onInit many return(INIT_PARAMETERS_INCORRECT); statements to exclude any combination that doesn't make sense and save passes. That still leaves tens of thousands of possible passes if not more. However the genetic based algorithm only runs 512 passes out of which most are with

Needed option to review seller on this website

Hello. I bought an EA a while back. It doesn't work well, And now the seller took it off the market and I can't even write a review while he keeps selling his other EAs. There need to be an option to write a general review on the seller for anyone who bought anything from him/her even if it's no

Signals page - Main chart calculation

Hello. Does the percentage shown include deposits made throughout the signal

Equity loss maximal

Hello. I'm looking for a way to find an EA's Equity Loss Maximal figure. And I don't mean the existing Equity drawdown maximal because I only want to know what was the maximum amount a position has dropped with respect to it's entry price, not to it's highest point. Anyone know of a way

EA in Strategy tester placing positions that I don't have funds for...

I'm testing an EA. I noticed it sometimes opens positions (in strategy tester) with a volume much greater than my balance + leverage. How is that possible? I this screenshot I have 972 EUR balance and I'm using 1:30 leverage. It opened a volume of 0.97 on GBPUSD. Meaning a 97,000 GBP position. What

MetaEditor - debugging input params

Hello. When I start debugging with historical data from MetaEditor, it changes my EA's input parameters and I can't figure out where can I set those? These are not the defaults and they are not what I set in strategy tester before starting the debugging