Gamestudio Links
Zorro Links
Newest Posts
Performance reporting showing Annual and monthly % returns
by OptimusPrime
Today at 01:19
Issue with inconsistent test results
by kvm
Yesterday at 17:24
Access string content through another string
by ChrstphFr
Yesterday at 11:30
How to return a vector from a function
by Superku
Yesterday at 05:39
Vector Displacement, realtime Blendshapes
by jumpman
08/14/18 23:46
Code Repository
by OptimusPrime
08/14/18 13:25
Votes for future features
by OptimusPrime
08/14/18 07:18
AUM Magazine
Latest Screens
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
Who's Online
6 registered (Dalla, kvm, jenGs, firecrest, alibaba, bailemad), 452 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Ulenspegel, toto, FloMi, behr065, OptimusPrime
18027 Registered Users
Topic Options
Rate This Topic
#472658 - 05/11/18 12:20 Z1 Skipped - Margin
claudio Offline
Newbie

Registered: 04/05/18
Posts: 16
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.

Top
#472672 - 05/12/18 19:47 Re: Z1 Skipped - Margin [Re: claudio]
claudio Offline
Newbie

Registered: 04/05/18
Posts: 16
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

Top
#472713 - 05/15/18 17:16 Re: Z1 Skipped - Margin [Re: claudio]
claudio Offline
Newbie

Registered: 04/05/18
Posts: 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

Top
#472737 - 05/16/18 18:07 Re: Z1 Skipped - Margin [Re: claudio]
claudio Offline
Newbie

Registered: 04/05/18
Posts: 16
The same stuff works fine with MT4 bridge.
I think that the MT5 bridge is miscalculating the margin.

Am I wrong????????

Top
#472761 - 05/21/18 10:47 Re: Z1 Skipped - Margin [Re: claudio]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26429
Loc: Frankfurt
No, you're right. We'll check that and will fix it for the upcoming release.

Top
#472769 - 05/21/18 15:52 Re: Z1 Skipped - Margin [Re: jcl]
claudio Offline
Newbie

Registered: 04/05/18
Posts: 16
Many thanks, jcl.

Top



Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de