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:
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: https://www.mql5.com/ru/code/1119
The trading system based on the signals taken from the BrakeParb semaphore, signal, trend indicatorExp_BrakeExp
The trading system based on the signals taken from the BrakeExp semaphore, signal, trend indicator