# Multi-Currency & Multi-Timeframe SMA Summary Table

2564瀏覽

This script displays a summary table of the direction of simple moving averages of all the currencies on all timeframes. The concept was that I wanted a summary page giving me a birds eye view of what is happening in the market. I plan to use it as a common sense check to confirm that I'm not trading against the flow. I'm not planning to use it to blindly enter (ah if only trading was that easy!!!).

The above example is showing the direction of the 100 SMA for 30S, 3min, 15min, 1h, 4h, D for all the currencies. The base currency is adjusted so that the colour coding is adjusted to express the strength of the specific currency. For example in the case of CAD it is showing the directions of SMAs for CADNZD , CADAUD , CADJPY , CADCHF , CADEUR , CADGBP , CADUSD - the base currency is flipped on some pairs so CAD is always the base currency.

An example of what it is showing - look at the 1h column on JPY. All rows are red except for the chf row. This means that the 100SMA is pointing down on all JPY crosses except for JPYCHF (remember, SMA is down assuming JPY is the base currency).

Unfortunately, I could not fit all the script into a single indicator so you have to load an instance of the indicator into the chart for each timeframe you want to see. So the above example has 6 instances of the indicator overlaid - 1 instance for: 30S, 3min, 15min, 1h, 4h and D. Just choose the timeframe and the script will automatically organise the table.

At the bottom (in blue) is a summary score: a score of 7 = the MA is up on that timeframe on all currency crosses; a score of -7 = the MA is down on that timeframe on all currency crosses. So if you look at the example above, the blue row is showing that USD is very strong against all other currencies and the AUD is generally weak against all other currencies (notice the light blue vs the dark blue).

-You can choose the length of the SMA .
-You can chose the 'lookback' period (the bars back the script looks to compare whether the MA is getting higher or lower)
-You can change the colours