john_everist

Relative Currency Strength

This indicator shows the relative strength of the majors and crosses compared to each other. So, if you are taking a EURUSD long, are you taking it because the Euro is strong or the USD is weak or both? How do you know? This indicator will show you how strong a current is compared to the other majors and crosses. So in the EURUSD example, you will know how strong the EUR is compared to NZD, AUD, JPY, CHF, GBP, CAD and USD and how strong the USD is compared to the NZD, AUD, JPY, CHF, EUR, GBP and CAD. You can then make an informed choice as to whether the trade makes sense.

Notice in the examples below how the indicator clearly shows how CHF was weak all day and GBP was strong in the morning but then collapsed in the afternoon.

The indicator functions by taking a set point in the day and comparing how price compares to it for the rest of the day. I set it to Europe open and then take context of how a currency is comparing to that price (verses the other currencies) over the course of the day.

You can use the indicator in 2 ways - you set a currency as a baseline and see how other currencies fluctuate about it or you can see how all the currencies strengths compare to each other.

If you have the full tradingview membership you can have 8 screens and see how each currency compares. if you set the indicator to automatic it will automatically default to the base currency that you compare to OANDA gold .

The general strength is useful as a general overview as to where strength and weakness is in the charts. It works by using gold as the baseline which is a reliable way to compare strengths.

REMEMBER, THIS GIVES SUMMARY DATA. USE IT TO GET MARKET CONTEXT IN ORDER TO IDENTIFY WHERE STRENGTH AND WEAKNESS IS - YOU CANT JUST TRADE FROM IT. It's extremely useful in fast moving markets to easily stay aware of what is happening.


Notes de version: hides labels when currency switched off
Notes de version: Made it clearer to modify colours. Added a 'dark screen mode' to optimise the colours for dark or light backgrounds.

Notes de version: I added a feature to make the comparison period a constant value. This means it can be used on higher timeframe as well as intra-day.

Notes de version: You can now use the new tradingview colour selector - so if you change the colours the labels will now match...

You can now compare the strength of counter currencies against one another verses the baseline currency

you can now treat gold same as any other currency (is switched off by default)

improvements thanks to correspondence with an experienced trader - (thankyou for showing me how to use my own indicator!)
Notes de version: bug fix
colour selector does not work so you need to change colours the old way - seems to be an error with pinescript but i'll have to check
Notes de version: fixed the colour issue...
Supprimer des scripts favoris Ajouter aux scripts favoris

Commentaires

Hi john how can we use it to compare USDINR strength as the INR option isn't available?
Help will be appreciated 🙏🏻
+3 Répondre
john_everist lallamehul
@lallamehul, I’m afraid there is a pine script limit to how many currencies I can load into an indicator – to generate the strength numbers I need to load into one indicator every single major and cross which takes it very much to the limit of what pine script will allow. I don’t think there would be enough space to add even more currencies into that I’m afraid. Sorry
+1 Répondre
john_everist lallamehul
@lallamehul, i checked for you,

i can't fit any more currencies into the indicator. However, if you copy the script into Wordpad and make a non-case sensitive find/replace for "NZD" to "INR" you can paste it back into pinescript and modify the indicator yourself. you might have to read a few of the tutorials if you don't know how to make a basic script - its not that difficult.

Good luck!
Répondre
lallamehul john_everist
@john_everist, Hi John Thanks for the help and suggestion will definitely try this alternative
Répondre
I actually learned a few things reading your code
Thank you for this piece of art
Répondre
@Daveatt, thanks. its nice to know I'm giving back - I learnt by reading others too.
+1 Répondre
how can i add this?!
}
Répondre
Hi, really great the script. But it would be even better if you set the command overlay to false.
Then I would not have to zoom in to see the graphs.
My translation mistake.
Répondre
Hi, really great the script. But it would be even better if you set the command overlay to false.
Dann müsste ich nicht hineinzoomen um die graphen sehen zu können.
Répondre
Thanks for creating and sharing this script! It was recently featured in our weekly newsletter
Répondre
Accueil Screener d'actions Screener Forex Screener Crypto Calendrier économique Comment ça marche Caractéristiques du graphique Prix Parrainer un ami Règles de conduite Centre d'aide Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Blog & News Twitter
Profil Paramètres du Profil Compte et Facturation Amis référés Coins Mes tickets au support Centre d'aide Idées Publiées Followers Suivi(e) Messages privés Chat Se Déconnecter