Developing a multi-currency Expert Advisor — source codes from a series of articles – library MetaTrader 5

Developing a multi-currency Expert Advisor — source codes from a series of articles - library for MetaTrader 5
This series of articles is in the process of being written. As we move forward, source codes from new articles will be added to this library. It is recommended to review the code in the order of publication of articles in order to better monitor the development and changes made. At this stage, the general … Read more

Multicurrency OnTickMarketWatch tick event handler – EA MetaTrader 5

Multicurrency OnTickMarketWatch() tick event handler
The standard OnTick() handler allows to receive the ticks for only one symbol. For multicurrency experts you need the ticks for several symbols.  In some cases it’s necessary to recieve the ticks for all symbols from”Market Watch” window. The Expert Advisor exOnTickMarketWatch.mq5 uses the standard custom event handler of OnChartEvent() function, it provides the following … Read more

“MCM Control Panel” for Multicurrency Expert Advisors and Indicators – EA MetaTrader 5

"MCM Control Panel" for Multicurrency Expert Advisors and Indicators - expert for MetaTrader 5
The one of the benefits of MQL5 language is the possibility to use the multicurrency indicators and Expert Advisors. See Multicurrency OnTickMarketWatch tick event handler in MQL5 CodeBase. The use of the concept, proposed in script isn’t convenient. For example, in the case of many events, there may be overflow of the events queue. Here … Read more

Multicurrency OnTick (string symbol) event handler – EA MetaTrader 5

Multicurrency OnTick (string symbol) event handler - expert for MetaTrader 5
This is the new implementation of full-featured multi-currency mode in MetaTrader 5. It’s implemented in extended OnTick(string symbol) function.  Benefits: It provides the real multi-currency mode on demo and real accounts. It has simple settings. The events list for OnTick(string symbol): can be configured: NewTick and/or NewBar. The list of symbols can be configured (all … Read more

MultiCurrency – indicator MetaTrader 5

Fig.1 The MultiCurrency Indicator
The MultiCurrency indicator allows you to concurrently analyze up to eight currency charts. The indicator itself does not perform any calculations. It simply displays eight CrossIndex indicator candlestick charts in the current chart. Indicator input parameters:  //+———————————–+ //|  INDICATOR INPUT PARAMETERS     | //+———————————–+ input bool ShowIndicator1=true; //permission to display the indicator             input string Symbol1=”EURUSD”; //currency input … Read more

Multi-Currency Indicator with USD reference – indicator MetaTrader 5

Multi-Currency Indicator with USD reference
The indicator is designed to show how the seven major currencies have moved against the US dollar. All currencies are normalised to a start at an earlier point in time ‘p’ and there is also an exponentially weighted moving average filter to provide a smoothing function ‘k’.  The graph is subsequently updated at each period … Read more

Multicurrency Expert – EA MetaTrader 5

Fig. 1. Trade results of the Expert Advisor analog during the MQL5 Automated Trading Championship in 2012.
The trading strategy implemented in this Expert Advisor was tested during the Championship in 2012. Fig. 1. The multi-currency EA at the ATC 2012. Upon launch, the Expert Advisor opens positions of all the specified currency pairs with the minimum volume. Once a position becomes losing, it is reversed. If a position is profitable, its … Read more

Forex Fraus (for M1) Multi-currency – EA MetaTrader 4

Forex Fraus (for M1) Multi-currency - expert for MetaTrader 4
This EA is based on Forex Fraus (for M1) which was made by Dmitriy Zaytsev: Forex Fraus (for M1). I added limitation of positions, multi-currency trading. This EA can trade five pairs together and set the maximum number of positions for each pair. Properties: Pair Symbol and max number of positions Caution: If the pair … Read more