OPEN-SOURCE SCRIPT

Triple Moving Average's EMA/SMA

84
This Pine Script in its final v5 version is a fundamental visual tool that supports traders in quickly identifying the trend and sentiment.

Key Script Goal
This script's primary objective is flexible multi-timeframe analysis of the trend.

The script serves as a universal set of three independent moving averages, which is intended to help you with the visual assessment of the market context:
  1. EMA (20 periods): Serves as dynamic support/resistance for short-term sentiment. It is highly sensitive to recent price action.
  2. SMA1 (50 periods): Typically acts as a medium-term trend indicator. It is often used to identify corrections.
  3. SMA2 (100 periods): Provides a long-term perspective. Its slope and position relative to the price indicate the dominant structural trend.

The script is a base for every trader who relies on technical analysis and Price Action, utilizing moving averages as dynamic S/R levels.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.