double swaplong=NormalizeDouble(MarketInfo(Symbol(),MODE_SWAPLONG),3); double swapshort=NormalizeDouble(MarketInfo(Symbol(),MODE_SWAPSHORT),3);
thanks for help
but it didn't work
atleast its not written for nothing ...lol
hehe, well lets, see, if you add:
Alert(MarketInfo(Symbol(),MODE_SWAPLONG));
what is the output?
for me - " 0 "
Well, then there there are not much options left...
Live/Demo account? maybe on some demo account there is no swap...
live account
maybe it has something to do with the broker .??
It actually worked once for some time ... but it was like half a year ago
there are brokers who have no swap, especially by demo accounts
its a live account... and it used to work once but now it stopped. . lol :|
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
please help !