Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
"Profit" output doesn't match log #449326
03/15/15 07:57
03/15/15 07:57
Joined: Mar 2015
Posts: 3
R
Rcode Offline OP
Guest
Rcode  Offline OP
Guest
R

Joined: Mar 2015
Posts: 3
Where does Zorro come up with the "profit" results? The "profit" column results in the log isn't what I come up with using simple math. These results are a simple cut-and-paste from workshop 7 using Zorro's historical data. If I add a column in excel adding up the pips gain/lost from the entries and exits, it's never even close to Zorro's results with any symbol or any algo, even cut-and-paste code from the workshops.

Type Asset ID Lots Open Close Entry Exit Profit Rollover ExitType
Long USD/CHF 202101 1 07.07.10 00:00 07.07.10 00:00 1.06068 1.05546 -3.3884 1.5 Stop
Long USD/CHF 202502 1 12.07.10 00:00 13.07.10 00:00 1.05515 1.05579 3.6056 3 Stop
Long USD/CHF 202703 1 14.07.10 00:00 15.07.10 00:00 1.0557 1.05048 -1.91235 3 Stop
Long USD/CHF 203204 1 20.07.10 00:00 20.07.10 00:00 1.05462 1.0494 -3.3925 1.5 Stop
Long USD/CHF 203305 1 21.07.10 00:00 22.07.10 00:00 1.05092 1.0457 -1.92114 3 Stop
Long USD/CHF 203506 1 23.07.10 00:00 26.07.10 00:00 1.04284 1.04786 9.2502 4.5 Stop
Long USD/CHF 203807 1 27.07.10 00:00 28.07.10 00:00 1.04986 1.05592 8.7308 3 Stop
Long USD/CHF 204008 1 29.07.10 00:00 29.07.10 00:00 1.05678 1.05156 -3.351 1.5 Stop
Long USD/CHF 204109 1 30.07.10 00:00 02.08.10 00:00 1.0408 1.03558 -0.4123 4.5 Stop
Long USD/CHF 204410 1 03.08.10 00:00 05.08.10 00:00 1.03949 1.04863 13.1528 4.5 Stop
Long USD/CHF 204711 1 06.08.10 00:00 06.08.10 00:00 1.04686 1.04164 -3.3746 1.5 Stop
Long USD/CHF 204912 1 09.08.10 00:00 16.08.10 00:00 1.0388 1.04698 18.2314 10.5 Stop
Long USD/CHF 205613 1 17.08.10 00:00 18.08.10 00:00 1.0397 1.03937 2.7014 3 Stop
Long USD/CHF 206114 1 23.08.10 00:00 24.08.10 00:00 1.03535 1.03684 4.4283 3 Stop

Re: "Profit" output doesn't match log [Re: Rcode] #449345
03/16/15 06:58
03/16/15 06:58
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
Does the number of trades in your log file match the number of trades reported in Zorro's message window? I have found that nearly every time I test a strategy, the log file contains an incomplete list of trades.

I have asked about this before, but never received a reply. Perhaps if others can confirm this behavior the issue might be elevated.

Re: "Profit" output doesn't match log [Re: boatman] #449350
03/16/15 12:30
03/16/15 12:30
Joined: Mar 2015
Posts: 3
R
Rcode Offline OP
Guest
Rcode  Offline OP
Guest
R

Joined: Mar 2015
Posts: 3
I mean each trade, i.e., line #1 (above) long entry @ 1.06068 & exit long @ 1.05546 can never equal " - 3.3884" even if you change decimal places and add/subtract roll-over or change base currency. Profit & loss from each trade doesn't add-up.


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