The USDx Index measures the performance of the US Dollar against a basket of currencies: EUR, JPY, GBP, CAD, CHF and SEK.
USDx started in March 1973, soon after the dismantling of the Bretton Woods system. At its start, the value of the US Dollar Index was 100.000. It has since traded as high as the mid-160s and as low as 70.698 on March 16, 2008, the lowest since its inception in 1973.
The makeup of the "basket" has been altered only once, when several European currencies were subsumed by the Euro at the start of 1999. USDx is updated whenever US Dollar markets are open, which is from Sunday evening New York time (early Monday morning Asia time) for 24 hours a day to late Friday afternoon New York time.
The USD index is calculated as a geometic average of 6 currency pairs:
USDx = 50,14348112 * EURUSD^(-0,576) * USDJPY^0,136 * GBPUSD^(-0,119) * USDCAD^0,091 * USDSEK^0,042 * USDCHF^0,036
Features of this implementation of USDx index:
By the way, the indicator line is drawn when the new bars had appeared for all currency pairs.
How to install:
The next... enjoy. If you have found some bugs, please send me private message.
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/242
FAT PANEL
The Panel Designed for "Best Graphic Panel in MQL5" Contest. This graphic panel allows to automate manual trading. It has many functions, including the visual construction of trading strategies.
"MCM Control Panel" for Multicurrency Expert Advisors and Indicators
The MCM Control Panel provides the solution for multicurrency trading in MetaTrader 5.
OptimReport v2.15
If you want to optimize your Expert Advisor using your own characteristics, you can use "Custom max" mode via OnTester() function. This code provides you many characteristics, which can be used during the optimization of your EA. Also it allows you to save the optimized charateristics in HTML file.
Grr-al
The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.