Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

USDx US Dollar Index - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

USDx dollar index - indicator for MetaTrader 5

USDX is an index that measures the value of the U.S. dollar against a basket of six basic currencies: Euro (EUR), Japanese Yen (JPY), British 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:

USD

where the power coefficient corresponds to the weight of currencies in the basket:

USDx dollar index - indicator for MetaTrader 5

Before use, please activate the EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, USDCHF varieties in the market survey and load historical records based on the variety data.


Attachment download

📎 usdx.mq5 (4.06 KB)

Source: MQL5 #1119

Verification code Refresh