Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, TipmyPip, degenerate_762, AndrewAMD, Nymphodora), 997 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Z1 Skipped - Margin #472658
05/11/18 10:20
05/11/18 10:20
Joined: Apr 2018
Posts: 16
C
claudio Offline OP
Newbie
claudio  Offline OP
Newbie
C

Joined: Apr 2018
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.

Re: Z1 Skipped - Margin [Re: claudio] #472672
05/12/18 17:47
05/12/18 17:47
Joined: Apr 2018
Posts: 16
C
claudio Offline OP
Newbie
claudio  Offline OP
Newbie
C

Joined: Apr 2018
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

Re: Z1 Skipped - Margin [Re: claudio] #472713
05/15/18 15:16
05/15/18 15:16
Joined: Apr 2018
Posts: 16
C
claudio Offline OP
Newbie
claudio  Offline OP
Newbie
C

Joined: Apr 2018
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

Re: Z1 Skipped - Margin [Re: claudio] #472737
05/16/18 16:07
05/16/18 16:07
Joined: Apr 2018
Posts: 16
C
claudio Offline OP
Newbie
claudio  Offline OP
Newbie
C

Joined: Apr 2018
Posts: 16
The same stuff works fine with MT4 bridge.
I think that the MT5 bridge is miscalculating the margin.

Am I wrong????????

Re: Z1 Skipped - Margin [Re: claudio] #472761
05/21/18 08:47
05/21/18 08:47
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, you're right. We'll check that and will fix it for the upcoming release.

Re: Z1 Skipped - Margin [Re: jcl] #472769
05/21/18 13:52
05/21/18 13:52
Joined: Apr 2018
Posts: 16
C
claudio Offline OP
Newbie
claudio  Offline OP
Newbie
C

Joined: Apr 2018
Posts: 16
Many thanks, jcl.


Moderated by  Petra 

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

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

Powered by UBB.threads™ PHP Forum Software 7.7.1