The Majors Indices

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

The Majors Indices

Postby Apprentice » Thu May 06, 2010 4:31 am

Index.png


First, to emphasize these are not the trade weight currency indeces, rather equal weighted.

Dollar Index.lua
(7.18 KiB) Downloaded 2442 times

Euro Index.lua
(7.1 KiB) Downloaded 2468 times

Jen Index.lua
(7.14 KiB) Downloaded 1977 times

Pound Index.lua
(7.14 KiB) Downloaded 1834 times

Franc Index.lua
(7.14 KiB) Downloaded 1493 times

Kiwi Index.lua
(7.18 KiB) Downloaded 1260 times

Aussie Index.lua
(7.18 KiB) Downloaded 1483 times

Loonie Index.lua
(7.18 KiB) Downloaded 1248 times

NOK Index.lua
(7.22 KiB) Downloaded 290 times

SEK Index.lua
(7.22 KiB) Downloaded 266 times

To work, you must be subscribed

For Dollar - EUR/USD, USD/JPY, GBP/USD, USD/CHF
For Euro - EUR/USD, EUR/JPY, EUR/GBP, EUR/CHF
For Yen - USD/JPY, EUR/JPY, GBP/JPY, CHF/JPY
For Pound - GBP/USD, EUR/GBP, GBP/JPY, GBP/CHF
For Frank - USD/CHF, EUR/CHF, CHF/JPY, GBP/CHF
For Aussie - "EUR/AUD","AUD/JPY","GBP/AUD","AUD/USD"
For Kiwi - "EUR/NZD","NZD/JPY","AUD/NZD","NZD/USD"
For Loonie - "EUR/CAD","GBP/CAD","USD/CAD","CAD/JPY"
For NOK -"USD/NOK","EUR/NOK","NOK/JPY","CHF/NOK";
For SEK - "USD/SEK","EUR/SEK","SEK/JPY","CHF/SEK"

Due to limitations of maximum number of subscribed currency pairs, I limited the number of pairs used in the calculation.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17746
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: The Majors Indices

Postby Apprentice » Fri Oct 11, 2013 8:08 am

I added Indexes for Aussie, Kiwi & Loonie.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17746
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: The Majors Indices

Postby toninvestor » Tue May 20, 2014 11:24 am

Hi Apprentice,

thanks for all the hard work. Your indicators are very helpful.

I am running the CCY indexes, and have an error when running 3 of them: Franc Index, Jen Index and Kiwi Index. In all of them, the message is the same (only the index name and CCY varies):

"An error occurred during the calculation of the indicator 'FRANC INDEX'. The error details: Franc Index.lua:152: Incorrect instrument name."

Is that a known error?

Thanks
toninvestor
 
Posts: 2
Joined: Tue May 20, 2014 5:05 am

Re: The Majors Indices

Postby Apprentice » Tue May 20, 2014 2:47 pm

Please, consult list, of the required currency pairs, for a particular index.
You need to be subscribed to all specified currency pairs.

If 20 subscription limit if a problem.
Ask your FXCM support, to grant you permission of subscription to all currency pairs at once.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17746
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: The Majors Indices

Postby toninvestor » Thu May 22, 2014 12:42 pm

Of course! thanks Apprentice, problem solved.

Is there any possibility of adding NOK and SEK indices?

Thanks again
toninvestor
 
Posts: 2
Joined: Tue May 20, 2014 5:05 am

Re: The Majors Indices

Postby Apprentice » Fri May 23, 2014 3:26 am

NOK and SEK indices added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17746
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: The Majors Indices

Postby Daydreaminblue » Tue May 27, 2014 3:08 pm

Hi,

Would it be possible to add a candlestick mode? One that matches with the same timeframe of the chart.
Daydreaminblue
 
Posts: 27
Joined: Thu Feb 27, 2014 9:56 am

Re: The Majors Indices

Postby Apprentice » Thu May 29, 2014 6:10 am

Candlestick mode Added.
Also i Fix some bugs and boost performance for all above indexes.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17746
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: The Majors Indices

Postby Daydreaminblue » Thu May 29, 2014 9:57 am

Thank you! It is next to perfect.
Would you be able to add all for points for candles; high low open close?
It seems it simply converted the line into candles with 2 points.
Daydreaminblue
 
Posts: 27
Joined: Thu Feb 27, 2014 9:56 am

Re: The Majors Indices

Postby Apprentice » Thu May 29, 2014 10:07 am

Untitled.png

Make sure that the Candle option is selected.

Be aware, Candle elements are not based on historical data.
They are calculated from available data for select time frame.
Loading the complete (Tick) price action is just not practical.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17746
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 8 guests