FXCM Forex Trading

Relative Currency Strength

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

Relative Currency Strength

Postby Apprentice » Tue Sep 17, 2013 1:42 pm

Relative Currency Strength.png


Pair method.
Shows the percentage change for all selected currency pairs in the given period.

Index Method
Shows the percentage change for all indexes in the given period.

Currency pair, index is calculated as the average of all percentage change
for all currency pairs that contain the currency in question.

Trailing Relative Currency Strength
Percentage is calculated as the change in the last N periods.

Trailing Relative Currency Strength.lua
(6.59 KiB) Downloaded 957 times


Untitled.png

Relative Currency Strength
Percentage is calculated as the change from defined date.
Start date can be set as paramerat or using Left Mouse menu options "Set Start"
Reset returns control to a parameter.
Relative Currency Strength.lua
(8.25 KiB) Downloaded 1011 times

Relative Currency Strength with Alert.lua
(19.35 KiB) Downloaded 227 times

Currencies
EUR, USD, GBP, JPY, AUD

Mandatory subscriptions.
"EUR/USD","GBP/USD","USD/JPY","AUD/USD","EUR/GBP","EUR/JPY","EUR/AUD", "GBP/JPY","GBP/AUD","AUD/JPY"


Expanded Versions

Expanded Trailing Relative Currency Strength.lua
(9.01 KiB) Downloaded 745 times

Expanded Relative Currency Strength.lua
(10.3 KiB) Downloaded 871 times


Additional currencies NZD, CHF, CAD
Additional subscriptions
"EUR/CHF","EUR/NZD","EUR/CAD","GBP/NZD","GBP/CAD","GBP/CHF","AUD/CHF","AUD/NZD","AUD/CAD","NZD/JPY","CAD/JPY","CHF/JPY","USD/CHF","USD/CAD","NZD/USD", "NZD/CAD","CAD/CHF","NZD/CHF"

If your account has subscriptions limit , set on 20 currency pairs.
Contact FXCM support, and ask to remove this limit for your account.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17130
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Relative Currency Strength

Postby OverDriven » Tue Sep 17, 2013 7:18 pm

I'm getting an error that says "Incorrect instrument name". I think the error is occurring on line 120.
OverDriven
 
Posts: 6
Joined: Fri Aug 09, 2013 4:33 pm

Re: Relative Currency Strength

Postby Apprentice » Wed Sep 18, 2013 3:45 am

See mandatory subscriptions.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17130
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Relative Currency Strength

Postby benben99 » Thu Sep 19, 2013 4:00 pm

Apprentice wrote:See mandatory subscriptions.

hey boss
can u add the NZD and the CAD to the indicator and also lines like 0, 100,200 ????????
thanks
benben99
 
Posts: 13
Joined: Sat Jul 23, 2011 2:34 pm

Re: Relative Currency Strength

Postby Apprentice » Fri Sep 20, 2013 3:51 am

Extended version added (CAD, CHF, NZD) .
Performance improvements for regular.
OB/OS Levels added, Currently set to 0.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17130
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Relative Currency Strength

Postby ddrrbb » Wed Mar 19, 2014 5:43 pm

Is it possible to add the currency names for the at the right side of the chart next to their price line? With so many colored lines, it is difficult to know which currency is which. Or if you can tell me what code I can add to the indicator to make it work that way, I would appreciate it. Thanks.
ddrrbb
 
Posts: 9
Joined: Wed Feb 22, 2012 6:10 pm

Re: Relative Currency Strength

Postby Apprentice » Thu Mar 20, 2014 4:01 am

Instrument Name Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17130
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Relative Currency Strength

Postby b0chatma » Mon Jun 23, 2014 4:30 pm

Can you fix the start date periods on this indicator? For example I want it to always reflect the last 75 periods. As of now I have to continue to reset the indicator in order to do this.
b0chatma
 
Posts: 15
Joined: Sun May 20, 2012 8:39 am

Re: Relative Currency Strength

Postby Apprentice » Tue Jun 24, 2014 3:42 am

I believe Relative Currency Strength.lua will provide this functionality.
If the start date set with "Start Date" start date will always be the same.
If u do not set start date or u reset it.
Start will be moved from time to time.
You can set it via the Period parameter.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17130
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Relative Currency Strength

Postby amine.dechemi » Sat Aug 23, 2014 1:12 pm

hello ,
can we have the same indicator and add NOK , ZAR , ils , try , huf , rub ,sek ,hkd ,sgd , dkk , czk , pnl , mxn

merci d'avance
amine.dechemi
 
Posts: 8
Joined: Fri Aug 15, 2014 5:06 pm

Next

Return to Custom Indicators

Who is online

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