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
1 registered members (1 invisible), 672 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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