john_everist

SMA Direction Cross Currency Summary

john_everist Обновлено   
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.



Информация о релизе:
Now you can cover 4 currencies with 1 indicator. (2 instances will cover all 8 majors and crosses)
Информация о релизе:
Now loads all currencies in 1 indicator
Информация о релизе:
fixing problem
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?