Hello, the type is missing on the MQH file called Profitlosscalculator, it is the first declaration where the constructor is, you forgot the void type. I have fixed it here.
Thank you for reporting. Apparently its last revision was in 2016 and over time, if they don't make the relevant changes that are being made to the MQL language it is written in, it will unfortunately stop working.
Hopefully the developer will read you and possibly update it.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Thank you for reporting. Apparently its last revision was in 2016 and over time, if they don't make the relevant changes that are being made to the MQL language it is written in, it will unfortunately stop working.
Hopefully the developer will read you and possibly update it.
The profitlosscaculator.mqh file gives two errors:
'UpdateProfitLoss' - unexpected token, probably type is missing? profitlosscalculator.mqh 343 24