AccountTradeLog

Custom MT4 expert advisors published here.

Moderator: admin

AccountTradeLog

Postby Apprentice » Wed Nov 21, 2018 9:04 am

Based on TS2/Lua version.
viewtopic.php?f=31&t=64933
AccountTradeLog.mq4
(12.11 KiB) Downloaded 113 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20629
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: AccountTradeLog

Postby conjure » Thu Dec 13, 2018 6:53 am

Hi Apprentice .
Thank you for converting the code.
I only found one problem.
The strategy does not show the pips okey.
Code: Select all
Symbol,  Amount, S/B,  P/L,            Gross P/L,  Limit,       Stop
EURGBP,  0.01,     S,   -1428166.1,    -0.15,        0.00000,   0.00000
EURUSD,  0.01,     B,    1425522.2,    -0.16,        0.00000,   0.00000


Code: Select all
trades[arraySize - 1].PLPips = (Bid - OrderOpenPrice()) / _pipSize;


I think that pip size is different for each instrument.
Can you fix it?
conjure
 
Posts: 94
Joined: Sat Jul 22, 2017 7:27 am



Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 2 guests