Pair Name Prefix & Suffix
Pair Name Prefix & Suffix
There are standard market names which are commonly used for currency pairs, like EURUSD, GBPUSD, USDCHF, USDJPY etc. Many broker offers these standard market names on their MT5 platform, however some brokers may add some prefix or suffix to the market names resulting in broker specific symbols like EURUSDecn, EURUSD.r or mEURUSD etc.
As a convenience, the EA makes an attempt to discover the broker specific prefix and suffix and use those automatically. Alternatively, the prefix and the suffix can be manually configured as well. The below table shows the different approaches how to configure the prefix and suffix parts of the market symbols for trading.
Approach | Input Entered into Pair Name Prefix & Suffix | Trading Outcome Examples |
---|---|---|
The chart's symbol is used to automatically discover the prefix & suffix | chart | When the EA is attached to the EURUSD chart then it trades the EURUSD GBPUSD USDCHF etc symbols with no prefix or suffix. |
When the EA is attached to the EURUSD.r chart then it trades the EURUSD.r GBPUSD.r USDCHF.r etc symbols with the .r suffix. | ||
When the EA is attached to the mEURUSD.r chart then it trades the mEURUSD.r mGBPUSD.r mUSDCHF.r etc symbols with the m prefix and .r suffix. | ||
Manual entry of suffix only | .r | The EA always trades the EURUSD.r GBPUSD.r USDCHF.r etc symbols with the .r suffix. |
Manual entry of prefix & suffix | m .r | The EA always trades the mEURUSD.r mGBPUSD.r mUSDCHF.r etc symbols with the m prefix and .r suffix. |
If the prefix and suffix should be added to other non-FOREX symbol names as well (like US30) then add the word always to the end of the Pair Name Prefix & Suffix.