Hi guys. So ive been trying to get the total loss/profits of my executed trade and i don't even know how to go about it. I thought i could modify this code. I got it from the mql5 codebase but it only gives the total loss/profit for pips.
Hi guys. Im kinda new to coding EAs in Mql5. But i am trying to get the absolute values of variables, mainly my 'Loss'. I know that the MathAbs() function can solve the problem but i don't know how to execute it. Here is where i am at