Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (EternallyCurious, AndrewAMD, ricky_k, 7th_zorro, 2 invisible), 478 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Basic question on profit calculation #471502
03/06/18 20:32
03/06/18 20:32
Joined: Mar 2018
Posts: 8
V
VHX Offline OP
Newbie
VHX  Offline OP
Newbie
V

Joined: Mar 2018
Posts: 8
Hi,
I just started with Zorro and try to figure out how the profit calculation works. I started TradeTest.c with a FXCM demo account and entered and closed 25 EUR/USD.

In the FXCM trading software I see:
I entered at 1.24079 and closed at 1.24039, therefore -4.0 PIP loss. PIPCost 0.081070 => -4.0 PIPs * 0.08107 * 25 = -8.107. In fact, the loss calculated by FXCM is only -8.06. Any ideas where this difference comes from?

In Zorro's result files:
Enter 25L EUR/USD Stop 0.1241 Trail 0.1241 at 19:40:08
[EUR/USD::L9336] Long 25@1.24079 Risk 2504 t at 19:40:08
Stop: 1.1167 Trail: 1.3649 TakeProfit: 0.0000
...
Close Long EUR/USD
Exit [EUR/USD::L9336]
[EUR/USD::L9336] Sell 25@1.24051: -9.56 at 20:01:11
Entr 1.24079 Exit 1.24051 Spr 0.00012 Slp -0.00 Rol 0.00 Com 1.50 Pool 25
Why does Zorro state that the exit is 1.24051? Has the spread been added? And Zorro added -1.5 for commission, although FXCM does obviously not charge commission (which is probaly only true with the demo account). Is that correct?

The differemce are small, but before spending real money I would like to understand the basics.

Thanks

Re: Basic question on profit calculation [Re: VHX] #471511
03/07/18 04:30
03/07/18 04:30
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
Try Slippage = 0.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1