13 Nov 2017, 08:37

Hello

Please, I need help because I don't know what I am doing wrong with one condition. I want to choose in some way if my EA have to trade with a risk % of the Equity account or using fixed lots.

I have tried to add a condition using a boolean variable for Money Management activation or not:

MoneyManagement bool (True = %Equity, False = Lots)
If MoneyManagement == True -> Buy/Sell with MM
If MoneyManagment == False -> Buy/Sell with Lots

So, my EA looks like this

0_1510561856732_fe73751d-c681-48d9-ac6d-b3503b7e833d-image.png

But the EA does not open any trade on the backtesting:

0_1510561981614_1435da29-18cf-4e7c-8abd-70967ba28bd1-image.png

If I delete the MoneyManagement condition the EA Works as it should be with MM or Lots:

0_1510562082520_5eece611-6dde-4fc3-b07c-4680707d91f4-image.png

0_1510562147003_0cef9a69-304f-4e44-bf05-db51cfaad8b1-image.png

Could anybody help me to get what I want on my EA?

Thanks