mikeTh / Publications
Forum
MQL4 - Unrealized Order profit calculation with conversion
I am trying to produce the same result as OrderProfit() method by calculating the trade profit manually, but the result is inconsistent (25.73 vs. 25.74) . Looking at the numbers it doesn't seem to be rounding issue (unless mt4 is somehow internaly using MathFloor() on the profit rounding or smth?)