> For the complete documentation index, see [llms.txt](https://samgozman.gitbook.io/investing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://samgozman.gitbook.io/investing/tradingview-scripts/multi-time-frame-ema-signal-and-resistance.md).

# Multi Time Frame EMA Signal & Resistance

The idea of this script is quite simple. Imagine that you have a 200-day EMA and its support or resistance line is the 200-week EMA .\
Then if EMA 200 1D > EMA 200 1W then the trend is bullish .\
\
That is, **EMA 200 1D** is the signal line, and **EMA 200 1W** is the resistance.\
Of course, you can independently set the time interval for the signal line and resistance, as well as the number of periods.\
\
You can optionally enable the additional classic EMAs.\
You can also set the timeframe for the signal line equal to the current time period.

![MTF EMA Signal & Resistance script for TradingView ](https://1324088860-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjOiob8Gpx6q8FOhPZt%2F-MjPBgnxYbKxNkrcPiLe%2F-MjPDU5pnUKIeTapArwt%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202021-09-12%20%D0%B2%2016.37.11.png?alt=media\&token=d498c462-df82-4464-a83a-7b7d5a068f21)

{% content-ref url="/pages/-MjPBfEf-7XBo4QywNEU" %}
[Broken mention](broken://pages/-MjPBfEf-7XBo4QywNEU)
{% endcontent-ref %}
