I see a difference when performing:
SymbolInfoInteger(_Symbol, SYMBOL_SWAP_MODE);
For currency I get: SYMBOL_SWAP_MODE_POINTS
For CFD on Indice I get: SYMBOL_SWAP_MODE_INTEREST_CURRENT
But I still don't understand why it shows 0 fee with CFD on Indice when the deal closes.
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
Dear all,
I have been able to retreive the swap fees from a closed deal using this little code:
When backtesting, I get the swap fees when dealing with currencies but I get 0 fee when trading with CFD on Indices. However, fees actually apply when trading with CFD on Indices manually. What happens?