Expert Advisors: Profit Loss Calculator

 

Profit Loss Calculator:

Calculator-panel to calculate profit/loss. Data is calculated either when moving lines, or changing the parameters in input fields of the entry price, lot, profit or loss in pips or in deposit currency

ProfitLossCalculator

Author: Serhii Ivanenko

 

Hi. 

I could ask for extension calculator to calculate stop loss and profit based on%? For example I invest $ 100, SL I want to 50% and TP to 100% of the invested amount.

 

Hi Serhii

Not very computer savvy in basic terms how do i download your Profit loss calculator into my Meta4


Kindest Regards


Rob

 
you can not have it anche in MT4 platform ?
 

I can't compile this code to use on the platform, it gives this error: 'UpdateProfitLoss' - function already defined and has different type ProfitLossCalculator.mqh 343 25

Has anyone experienced this?

 
Hey i just tried adding this to the advisers folder but it is not showing up as and executable .ex5. I try to compile the profitlosscalculator.mqh in metaeditor but it gives me two errors for file "ProfitLossCalculator.mqh". I have attached the screenshot. Wondering if anybody knows how to fix it.
Files:
error.jpg  269 kb
 
sanas0001:
Hey i just tried adding this to the advisers folder but it is not showing up as and executable .ex5. I try to compile the profitlosscalculator.mqh in metaeditor but it gives me two errors for file "ProfitLossCalculator.mqh". I have attached the screenshot. Wondering if anybody knows how to fix it.
Hi, did you manage to get it working?
 
sanas0001:
Hey i just tried adding this to the advisers folder but it is not showing up as and executable .ex5. I try to compile the profitlosscalculator.mqh in metaeditor but it gives me two errors for file "ProfitLossCalculator.mqh". I have attached the screenshot. Wondering if anybody knows how to fix it.

Hi, is a little error in line 343 in file profitlosscalculator.mqh.

Just add "void" at the beginning of the line:

void CProfitLossCalculator::UpdateProfitLoss(void) {

 

Hello, anyone who has a problem with "UpdateProfitLoss"

Just go to the beginning of the Line and put "Void"


It looks like this: void CProfitLossCalculator::UpdateProfitLoss(void) {

Porque a Hospedagem Virtual no MetaTrader 4 e no MetaTrader 5 são Melhores que os VPS Usuais
Porque a Hospedagem Virtual no MetaTrader 4 e no MetaTrader 5 são Melhores que os VPS Usuais
  • www.mql5.com
Alugar um servidor virtual diretamente dos terminais MetaTrader 4 e MetaTrader 5 é a melhor maneira de garantir um trabalho ininterrupto de seus robôs de negociação e das assinaturas de Sinais. Essencialmente, ele é análogo a um VPS, no entanto, ele é melhor e mais adequado para atender às necessidades e desafios que um trader se depara. O...
 

hi. why is it not showing up after i download it. thanks! btw, im not that savvy. sorry

 
hey if you guys coudn't make it, maybe you can copy all 3 files and put it in one folder, MQL5/indicators/ then put that 3 file in one folder. maybe it's gonna works. good luck.