Posted By: claudio
Z1 Skipped - Margin - 05/11/18 10:20
I'm trying to test Z1 with XM demo account with MT5 bridge.
The system is not trading and I'm getting only messages like:
"[XAU/USD:LP:L] Skipped - Margin 30 Min 110814"
What I am doing wrong?
Thanks.
Claudio.
Posted By: claudio
Re: Z1 Skipped - Margin - 05/12/18 17:47
This what I get from the Broker, is it possible that the Leverage is wrong?
Trade: TradeTest EUR/USD 2018-05-12
Log Params EUR/USD
Spread 0.00046
RollLong -11.01000
RollShort 4.69000
PIP 0.00010
PIPCost 0.08373
MarginCost 100000.00000
Leverage 0.01000
LotAmount 1000.00000
Commission 0.60000
Posted By: claudio
Re: Z1 Skipped - Margin - 05/15/18 15:16
I think that the problem is in the way the margin is calculated in Zorro.mq5 expert script:
arr[6] = MarketInfo(Asset,MODE_MARGINREQUIRED) * LotFactor; // margin
in my case it return
-0.01=-1*0.01
Posted By: claudio
Re: Z1 Skipped - Margin - 05/16/18 16:07
The same stuff works fine with MT4 bridge.
I think that the MT5 bridge is miscalculating the margin.
Am I wrong????????
Posted By: jcl
Re: Z1 Skipped - Margin - 05/21/18 08:47
No, you're right. We'll check that and will fix it for the upcoming release.