Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, howardR, sleakz), 674 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lots and TestTrades.csv #484357
10/13/21 19:36
10/13/21 19:36
Joined: Oct 2021
Posts: 4
Madrid
M
Mariano Offline OP
Guest
Mariano  Offline OP
Guest
M

Joined: Oct 2021
Posts: 4
Madrid
Hi all,

I don't know what I'm doing wrong, but I can't get in any way that in the list of trades 1 lot is multiplied by LotAmount. It is always multiplied by 100.000 to calculate the profit from the trade.

These are my variables:
EUR/USD
USD account
PIP = 0.0001;
PIPCost = 10;
Lots = 1;
LotAmount = 1000;


Trying any amount in LotAmount, 1000, 10000 or 100000 (and 0.1, 1, 10, 100) I always get the same profit. Always multiply by 100.000 to calculate the profit.
The calculation of the profit in TestTrades and the performance metrics does not vary depending on the LotAmount.

Can someone help me with this?

Thanks,
Mariano

Re: Lots and TestTrades.csv [Re: Mariano] #484360
10/14/21 16:27
10/14/21 16:27
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The profit of a trade is not determined by the lot amount, but by the pip cost. Have you also changed the pip cost accordingly?

Re: Lots and TestTrades.csv [Re: jcl] #484369
10/15/21 16:39
10/15/21 16:39
Joined: Oct 2021
Posts: 4
Madrid
M
Mariano Offline OP
Guest
Mariano  Offline OP
Guest
M

Joined: Oct 2021
Posts: 4
Madrid
Thank you.

I forgot to change the PIPCost accordingly LotAmount.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1