FXCM Forex Trading

US Dollar Index [Upd May, 05]

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: US Dollar Index [Upd May, 05]

Postby Alexander.Gettinger » Mon Jan 23, 2012 2:47 am

Usdx.png


USDX with reverse (1/usdx) feature.

Download:
USDX.lua
(8.41 KiB) Downloaded 623 times


Please, note, that you must be subscribed for all instruments required to calculation: EUR/USD, USD/JPY, GBP/USD, USD/CAD, USD/SEK and USD/CHF. If at least one of the instruments is not subscribed, the indicator fails!

Notice
Tick based USDX Bar chart high/low values can differ from regular USDX bar cart.
This is because such values are calculated on the basis of only four data points, (Open, High, Low, Close) values. The true historical USDX bar chart High Low values can deviate from the obtained in this way.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 1999
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: US Dollar Index [Upd May, 05]

Postby rtsayers » Mon Jan 23, 2012 5:11 am

I am receiving a error

An error occurred during the calculation of the indicator 'USDX'. The error details: [string "USDX.lua"]:106: Incorrect instrument name..
rtsayers
 
Posts: 84
Joined: Sat Jan 29, 2011 12:45 am

Re: US Dollar Index [Upd May, 05]

Postby sunshine » Mon Jan 23, 2012 5:24 am

Please read the top post.
top post wrote:Please, note, that you must be subscribed for all instruments required to calculation: EUR/USD, USD/JPY, GBP/USD, USD/CAD, USD/SEK and USD/CHF. If at least one of the instruments is not subscribed, the indicator fails!

Please make sure that you are subscribed to all of the symbols listed above (go to FX Trading Station -> click the Symbols button on the tool bar). This should help.
Learning how to read indicators is more of an art than a science.
sunshine
FXCodeBase: Aspirant (Junior)
 
Posts: 771
Joined: Fri Oct 15, 2010 3:42 am

Re: US Dollar Index [Upd May, 05]

Postby rtsayers » Mon Jan 23, 2012 6:01 am

Thanks works perfect just one request could you add candle stick

Thanks Rick!
rtsayers
 
Posts: 84
Joined: Sat Jan 29, 2011 12:45 am

Re: US Dollar Index [Upd May, 05]

Postby Apprentice » Wed Jan 25, 2012 5:59 am

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 9113
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: US Dollar Index [Upd May, 05]

Postby Alexander.Gettinger » Thu Jul 05, 2012 4:46 pm

MQL4 version of USDX: viewtopic.php?f=38&t=20873
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 1999
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: US Dollar Index [Upd May, 05]

Postby naik3d » Mon Jul 01, 2013 4:23 am

H ALexander,

you are a genious man, looking so long for such a neat indicator.
Just one question, i can see the the LUA version of the script will also
show the candle wicks.
I have tried the latest mq4 version and i only get bars without the wicks.
Is there any possibility to actiave the wicks also?

That would be just awesome.

keep up the fantastic work mate!!

regards

EDIT: I have read the problem with the wicks and the deviation.
Is there any solution to this?


Naik
naik3d
 
Posts: 2
Joined: Mon Jul 01, 2013 4:14 am

Re: US Dollar Index [Upd May, 05]

Postby Alexander.Gettinger » Tue Jul 09, 2013 10:02 am

Shadows of candles do not make sense, because moments of High and Low at USDX components do not coincide in time.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 1999
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: US Dollar Index [Upd May, 05]

Postby naik3d » Fri Jul 12, 2013 7:50 am

sorry mate, but i can't follow you.
Why shouldn't they coincide in time?

When you look up at specific site ( as an example )

http://de.investing.com/quotes/us-dollar-index

you can also see the shadows of the candles and for me it should be logical
to support this also.

maybe you can shed some light into this.
naik3d
 
Posts: 2
Joined: Mon Jul 01, 2013 4:14 am

Re: US Dollar Index [Upd May, 05]

Postby Apprentice » Sun Jul 14, 2013 2:33 am

For both.

As I wrote.
Tick based USDX Bar chart high/low values can differ from regular USDX bar cart.
This is because such values are calculated on the basis of only four data points, (Open, High, Low, Close) values. The true historical USDX bar chart High Low values can deviate from the obtained in this way.

So, it is possible to have this, but the data will not necessarily correspond to the actual data.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 9113
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], chunkyglasses, Yahoo [Bot] and 6 guests