Molanis money management is not working

MQL4 Experts Other

Job finished

Execution time 21 hours

Specification

Hi, Ive created a EA with molanis appliaction, which is running in backtesting fine.

but when I tried to implement money management for ex. 2% of balance(free margin) for lotsizing, the backtesting report still only trades 0,10 lots.

when I tried to set the following parameters to TRUE and backtested the system, there was no moneymanagement used, only fixed lotsize of 0.1 was traded:


extern bool    UseMaximumPercentageatRisk = true;

extern double  MaximumPercentageatRisk = 2; 

extern bool    UseRiskRatio = true; 

extern int     RiskRatio = 3; 

extern bool    UseLotManagement = true;

extern int     LotManagementType = 2; 


the parameters above should activate MM, but in backtest only 0.1 lots trades on each trade?


please advise, Thanks, Tom.

 

PS: attached you can find EA. 

Responded

1
Developer 1
Rating
(24)
Projects
36
75%
Arbitration
1
100% / 0%
Overdue
2
6%
Free
2
Developer 2
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free

Project information

Budget
10 USD
Deadline
1 day(s)