Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.12.05 10:48

USDx dollar index - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 17
usdx.mq5 (4.06 KB)view

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:


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%;

The dollar index

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 Software Corp.
Original code:

Exp_BrakeParb Exp_BrakeParb

The trading system based on the signals taken from the BrakeParb semaphore, signal, trend indicator

Exp_BrakeExp Exp_BrakeExp

The trading system based on the signals taken from the BrakeExp semaphore, signal, trend indicator

WideRangePredictor WideRangePredictor

The indicator "warning" about the appearance of the bars with an extended range and/or strong directed movements

CloseSeries CloseSeries

The indicator displays a series of internal, external and single directed closing and prompts exit points on short-term trend trading