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 3464 times

Euro Index.lua
(7.1 KiB) Downloaded 3476 times

Jen Index.lua
(7.14 KiB) Downloaded 2969 times

Pound Index.lua
(7.14 KiB) Downloaded 2817 times

Franc Index.lua
(7.14 KiB) Downloaded 2506 times

Kiwi Index.lua
(7.18 KiB) Downloaded 2258 times

Aussie Index.lua
(7.18 KiB) Downloaded 2527 times

Loonie Index.lua
(7.18 KiB) Downloaded 2201 times

NOK Index.lua
(7.22 KiB) Downloaded 1270 times

SEK Index.lua
(7.22 KiB) Downloaded 1240 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 the limitations of the maximum number of subscribed currency pairs, I limited the number of pairs used in the calculation.

Contact FXCM to enable more than 20 currency pairs for your account.
It does not apply to Demo.

Generic versions
viewtopic.php?f=17&t=69826

Normalized versions
https://fxcodebase.com/code/viewtopic.php?f=17&t=71353
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
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: 36341
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: 36341
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: 36341
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: 36341
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: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 44 guests

cron