24hworker:
With my broker I can order gold and silver.
But the Indicators dont work:
long test = iVolume("XAUUSD", PERIOD_H1, 0); // returns 0
You must write:
long test = iVolume("GOLD", PERIOD_H1, 0); // returns the true value
(iStochastic also returns no value)
So commercial EA Dealers will have problems with the sold Indicators and EA's.
Metatrader must insist that all brokers use the same names for the currencies.
1) That is not service Metaquotes provides - ask you broker.
2) Realize that all this is like a kindergarten - every broker does what he wants (e.g. servertime, dst, contract size, ...)
3) If you EA isn't able to deal with this - ask the vendor or remove it.
24hworker: Metatrader must insist that all brokers use the same names for the currencies.
long test = iVolume("XAUUSD", PERIOD_H1, 0); // returns 0 | Broker's use a variety of naming patterns: EURUSD, EURUSDm, EURUSDi, "EURUSD.", "EURUSD..", "EUR.USD", "EUR/USD", "EURUSD.stp", EURUSDct, "EURUSD.G", "EURUSD+", and EURUSDpro at least. Don't hard code things; just use the predefined _Symbol. |

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
With my broker I can order gold and silver.
But the Indicators dont work:
long test = iVolume("XAUUSD", PERIOD_H1, 0); // returns 0
You must write:
long test = iVolume("GOLD", PERIOD_H1, 0); // returns the true value
(iStochastic also returns no value)
So commercial EA Dealers will have problems with the sold Indicators and EA's.
Metatrader must insist that all brokers use the same names for the currencies.