EarnForex / PositionSizer

Calculate your position size based on the risk and account size and execute your trades with this free MetaTrader expert advisor.

Home Page:https://www.earnforex.com/metatrader-expert-advisors/Position-Sizer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong calculation of commission

dennysena opened this issue · comments

Screenshot (520)

As you can see in the result section my risk is 8.38 and my reward is 8.14. That means the EA calculate my commission to be 0.24, right?
My broker charge $4 per lot and i know that i should enter half of it in the commission section because it is one way, so i enter $2.
The EA give the result of the position size 0.03 lot. Isn't my commission supposed to be 0.12 and my reward 8.26?

The commission is paid regardless of the trade's outcome. Both Reward and Risk include the commission. Your Risk is calculated like this: (366 pips x 0.03 lot) + $0.12. Your Reward is calculated like this: (366 pips x 0.03 lot) - $0.12. Had there been no commission, the Risk would have been equal the Reward at 366 pips x 0.03 lot (considering that the position size would have remained the same, which isn't necessary the case).

Thanks for explaining it to me and thanks a lot for this EA :)