MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Freelancer services needed to perform 150+ jobs of traders
To post a new code, please log in or register

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

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

2009.12.16 10:50
DXY: Dollar Index

DXY: Dollar Index - indicator for MetaTrader 4

| English Spanish Portuguese Russian

Views:
12519
Rating:
votes: 1

Author:

andydoc

Description:

This indicator calculates and displays the Dollar Index and 2 definable moving averages. In order for it to work, the broker must provide prices for all the reference pairs, i.e. EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, USDCHF.

The Dollar Index is well described here: ICE Dollar Index

Image:


The indicator against 2 pairs, reading exactly the same.

Recommendations:

  • The periods for the moving averages can be changed - defaults are 20 and 40
  • The indicator will work on any chart and on any period.
Last comments | Go to discussion (11)
Савва
savva08 | 29 Jan 2010 at 18:57

Hello, how about JPY and GBP index? Is it possible? Thank you.

MQL4 Comments
mql4_comments | 24 Mar 2010 at 22:09
Could you make it as a 4 decimal pricing? Thank you
MQL4 Comments
mql4_comments | 28 Apr 2010 at 21:14

Thank you very much andydoc. It works perfectly. The real USD Index. I really appreciate it when people do thorough work.

MQL4 Comments
mql4_comments | 7 Aug 2012 at 12:05

Fantastic, thank you!

I have an idea though that i think would be great... Is it possible to add a zigzag to this indicator, then for each leg of the zigzag, display the percentage price movements for each of the currency pairs that make up the dollar index?

This would make understanding which pairs move the most during bull trends or bear trends much simpler when trading using the index.

Thanks.

MJL

Andy T
andydoc | 17 Mar 2013 at 10:11
Mlewis:

Fantastic, thank you!

I have an idea though that i think would be great... Is it possible to add a zigzag to this indicator, then for each leg of the zigzag, display the percentage price movements for each of the currency pairs that make up the dollar index?

This would make understanding which pairs move the most during bull trends or bear trends much simpler when trading using the index.

Thanks.

MJL

Hi - sorry - not a regular visitor these days - will have look at it when I have time :)