Join our fan page
- Views:
- 11688
- Rating:
- Published:
- 2012.12.05 10:48
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
USDX is an index which measures the dollar's value against a basket of six basic currencies: Euro (EUR), Yen (JPY), Pound sterling (GBP), Canadian dollar (CAD), Swedish krona (SEK) and Swiss franc (CHF).
The index is calculated as a weighted geometric value of these currencies using the following formula:
USDx=50,14348112*USDEUR^0,576*USDJPY^0,136*USDGBP^0,119*USDCAD^0,091*USDSEK^0,042*USDCHF^0,036
where the power coefficients correspond to the weights of currencies in the basket:
- Euro — 57,6 %;
- Yen - 13.6%;
- Pound Sterling - 11.9%;
- Canadian dollar - 9.1%;
- Swedish Krona - 4.2%;
- Swiss franc - 3.6%;
Before using activate EURUSD, USDJPY ,GBPUSD, USDCAD, USDSEK, USDCHF symbols in market survey and load the history according to symbols data.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1119
![Exp_BrakeParb](https://c.mql5.com/i/code/expert.png)
The trading system based on the signals taken from the BrakeParb semaphore, signal, trend indicator
![Exp_BrakeExp](https://c.mql5.com/i/code/expert.png)
The trading system based on the signals taken from the BrakeExp semaphore, signal, trend indicator
![WideRangePredictor](https://c.mql5.com/i/code/indicator.png)
The indicator "warning" about the appearance of the bars with an extended range and/or strong directed movements
![CloseSeries](https://c.mql5.com/i/code/indicator.png)
The indicator displays a series of internal, external and single directed closing and prompts exit points on short-term trend trading