-
OrderProfit() discrepencies
I just stumbled onto this today. Has anyone noticed the result of OrderProfit() depends on the broker? It might be 5-digit broker vs 4-digit, I'm not sure, but on FXDD, OrderProfit() ignores the 2nd place after the decimal, so $4.28 becomes $4.20. On Alpari, a 5-digit broker, it retains both places so $4.28 stays $4.28. I'm using this in the EA I'm working on to track gains and losses but the results are getting out of whack, which sucks!
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules