Return P/L Pips for particular currency and direction
3 replies
Wouter
8 years ago #114684
Hello,
Is there a function within EAWizzard in order to send me the total profit/loss in pips of all trades active on this pair the EA is on allong it’s side ?
Kind regards,
Wouter Vermeersch
tomas262
8 years ago #135326
So you only want EA to return current OPEN P/L for selected pair not closed P/L?
Wouter
8 years ago #135331
Yes,
I want it to return open P/L in pips for all the trades active on one particular pair for buy and sell separate.
Verzonden vanaf mijn iPhone met Tapatalk
tomas262
8 years ago #135431
If you need to sum open P/L separately for long and short positions then you need to create a custom function that does that and place it in SQ_EAWizard\code\CustomFunctions.mq4. Then you can call it using CustomFunction option in Wizard. More details on programming this is here too https://forum.mql4.com/53981
Viewing 3 replies - 1 through 3 (of 3 total)