Page 1 of 2

The Majors Indices

PostPosted: Thu May 06, 2010 4:31 am
by Apprentice
Index.png


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

Dollar Index.lua
(7.18 KiB) Downloaded 3468 times

Euro Index.lua
(7.1 KiB) Downloaded 3478 times

Jen Index.lua
(7.14 KiB) Downloaded 2974 times

Pound Index.lua
(7.14 KiB) Downloaded 2822 times

Franc Index.lua
(7.14 KiB) Downloaded 2511 times

Kiwi Index.lua
(7.18 KiB) Downloaded 2266 times

Aussie Index.lua
(7.18 KiB) Downloaded 2536 times

Loonie Index.lua
(7.18 KiB) Downloaded 2208 times

NOK Index.lua
(7.22 KiB) Downloaded 1277 times

SEK Index.lua
(7.22 KiB) Downloaded 1247 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

Re: The Majors Indices

PostPosted: Fri Oct 11, 2013 8:08 am
by Apprentice
I added Indexes for Aussie, Kiwi & Loonie.

Re: The Majors Indices

PostPosted: Tue May 20, 2014 11:24 am
by toninvestor
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

Re: The Majors Indices

PostPosted: Tue May 20, 2014 2:47 pm
by Apprentice
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.

Re: The Majors Indices

PostPosted: Thu May 22, 2014 12:42 pm
by toninvestor
Of course! thanks Apprentice, problem solved.

Is there any possibility of adding NOK and SEK indices?

Thanks again

Re: The Majors Indices

PostPosted: Fri May 23, 2014 3:26 am
by Apprentice
NOK and SEK indices added.

Re: The Majors Indices

PostPosted: Tue May 27, 2014 3:08 pm
by Daydreaminblue
Hi,

Would it be possible to add a candlestick mode? One that matches with the same timeframe of the chart.

Re: The Majors Indices

PostPosted: Thu May 29, 2014 6:10 am
by Apprentice
Candlestick mode Added.
Also i Fix some bugs and boost performance for all above indexes.

Re: The Majors Indices

PostPosted: Thu May 29, 2014 9:57 am
by Daydreaminblue
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.

Re: The Majors Indices

PostPosted: Thu May 29, 2014 10:07 am
by Apprentice
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.