Can't publish my product ex4 , (Strategy tester report not found) even when try upload previous product (that already pass in past) - page 2

 
Hi
the error is fixed
try it now
 

Actually this error was fixed, but I get another error “test on NZDUSD,H1 2022.02.14 22:00:00  Tester: not enough money for buy 0.20 NZDUSD”.

I use MMmode, so I believe that accountfreemargin are enough. In fact, EURUSD H1 test is fine.

Can I get some advise?

 
Hiroki Fukumi #: Actually this error was fixed, but I get another error “test on NZDUSD,H1 2022.02.14 22:00:00  Tester: not enough money for buy 0.20 NZDUSD”.I use MMmode, so I believe that accountfreemargin are enough. In fact, EURUSD H1 test is fine. Can I get some advise?

https://www.mql5.com/en/forum/344682/page16#comment_50706663

Strategy Tester Report not found - How can I fix an issue when trying to upload my EA to MML5 Market?
Strategy Tester Report not found - How can I fix an issue when trying to upload my EA to MML5 Market?
  • 2023.06.08
  • www.mql5.com
It would be great to get it fixed again same with me. The checks a trading robot must pass before publication in the market - the article. Hi i'm trying to contact you privately but you have to accept my friendship to send you a message
 
Hiroki Fukumi #:

Actually this error was fixed, but I get another error “test on NZDUSD,H1 2022.02.14 22:00:00  Tester: not enough money for buy 0.20 NZDUSD”.

I use MMmode, so I believe that accountfreemargin are enough. In fact, EURUSD H1 test is fine.

Can I get some advise?

use this code before "Ordersend"

double Free_Margin2=AccountFreeMarginCheck(Symbol,Type,Lots2);
//-- if there is not enough money
if(Free_Margin2<0)
{
  Print("Not enough money "," Error code=",GetLastError());
  return(false);
}

Improperly formatted code edited by moderator.

or read this ... https://www.mql5.com/en/forum/42809

AccountFreeMarginCheck in MQL5 ?
AccountFreeMarginCheck in MQL5 ?
  • 2015.04.08
  • www.mql5.com
Hi. Traders and Coders. I used this article to convert my MQL4 code to MQL5 code. https://www.mql5...
 
@Nebal S I Saloul #:

Improperly formatted code edited by moderator.

Please always use the CODE button (Alt-S) when inserting code.

Code button in editor

 

Hello

the error is back

test on EURUSD,H1 strategy tester report not found

please tell mql5.com to fix it again

Reason: