Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by 7th_zorro. 04/16/24 13:19
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (7th_zorro, Aku_Aku, VoroneTZ, 11honza11, ricky_k, Nymphodora), 427 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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