john_everist

SMA Direction Cross Currency Summary

john_everist Güncellendi   
This script shows the average SMA direction of each of the majors and crosses when compared to each other. The more blocks to the right the stronger the currency on that timeframe. The more blocks to the left the weaker the currency.

I'm finding it useful to quickly know the average flow of movement for each currency on the higher timeframes and then focus on that for a daily trade. I also like how i dont have to keep jumping between instruments to stay upto date. I'm not a 'real' trader so I have very limited time and attention for this so this does the job as a crude replacement for trawling all the chart each day.


The currencies compared are:

-NZD
-AUD
-JPY
-CHF
-EUR
-GBP
-CAD
-USD

The way it is calculated is that its based on the 20 SMA. For each currency vs the other crosses:
if the SMA is pointing up and price is higher = +2
if the SMA is pointing up and price is lower = +1
if the SMA is pointing down and price is higher = -2
if the SMA is pointing down and price is lower = -1

So if we where considering GBP. We would do that for GBPNZD, GBPAUD, GBPPJY, GBPCHF, GBPEUR, GBPCAD, GBPUSD. We would then consider this sum against all the currencies to understand the relative strength.

Due to the limit on how many instruments can be called in a single indicated you need to load it for each currencies so 8 currencies = 8 indicators.

Its a bit of a frankinstien script - it just throw it togeather so its probably got redundant code etc. Its built around 20 SMA - no idea what would happens when you change that.



Sürüm Notları:
Now you can cover 4 currencies with 1 indicator. (2 instances will cover all 8 majors and crosses)
Sürüm Notları:
Now loads all currencies in 1 indicator
Sürüm Notları:
fixing problem
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?