HosseinKOGO:
Hello friends,
As you can see in the picture, I collected 600 points for Buy position in EURUSD currency pair, but it gives me 5.43 rather than 6$.
My code for exiting is:
While TakeProfit is 600.
What is the problem? I exited with 600 points but it gave me 5.43. Why?
Hello friends,
As you can see in the picture, I collected 600 points for Buy position in EURUSD currency pair, but it gives me 5.43 rather than 6$.
My code for exiting is:
While TakeProfit is 600.
What is the problem? I exited with 600 points but it gave me 5.43. Why?
Commission, swap.
Total Profit is OrderProfit() + OrderSwap() + OrderCommission(). Some brokers don't use the Commission/Swap fields. Instead, they add balance entries. (Maybe related to Government required accounting/tax laws.)
"balance" orders in account history - Day Trading Techniques - MQL4 programming forum (2017)
Broker History FXCM Commission - <TICKET>
Rollover - <TICKET>? >R/O - 1,000 EUR/USD @0.52 ? #<ticket> N/A OANDA Balance update
Financing (Swap: One entry for all open orders.)
Pals, Appreciated!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
As you can see in the picture, I collected 600 points for Buy position in EURUSD currency pair, but it gives me 5.43 rather than 6$.
My code for exiting is:
While TakeProfit is 600.
What is the problem? I exited with 600 points but it gave me 5.43. Why?