
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
This is how get the commission of a position. Do a select with PositionSelect(), PositionSelectByIndex(), PositionGetSymbol() or PositionGetTicket() before using this code.
This is how get the commission of a position. D o a select with PositionSelect(), PositionSelectByIndex(), PositionGetSymbol() or PositionGetTicket() before using this code.
Please note that commission is sometimes charged for both 'DEAL_ENTRY_IN' and 'DEAL_ENTRY_OUT'.
Please note that commission is sometimes charged for both 'DEAL_ENTRY_IN' and 'DEAL_ENTRY_OUT'.
It is hard to know what the total commission will be when a positions is still open. Therefor I have chosen to not include the DEAL_ENTRY_OUT. With this code we get the entry-commission (not included partially closed positions). Multiply by 2 to get the (future) total commission.