Welcome. This course builds a practical foundation for analysing shares, commodity products, and major cryptocurrencies without treating any single chart tool as a prediction machine. In this module, indicators become structured summaries of price behaviour: useful for judging trend, momentum, and volatility, but always secondary to the price chart itself.
This first lesson focuses on three trend-following tools available as TradingView built-ins: the Simple Moving Average (SMA), the Exponential Moving Average (EMA), and Supertrend. By the end, you will be able to configure them, explain why they differ, use them as moving reference zones, and recognize the market conditions in which they are most likely to mislead.
Use paper analysis only. An indicator signal is not, by itself, a reason to buy or sell.
Moving averages: smoothing price without predicting it
A candlestick chart records every short-term push and pull between buyers and sellers. That detail is essential, but it can obscure the broader direction. A moving average reduces that noise by calculating an average of recent prices.
For an -period simple moving average of closing prices:
On a daily chart, a 50-period SMA is the average of the last 50 daily closes. On a four-hour chart, it is the average of the last 50 four-hour closes. The number is a count of bars, not an inherent calendar duration.
The important consequence is lag. A moving average is based on prices that have already occurred, so it confirms and describes a move after it begins. That is not a flaw; it is the price paid for smoothing. A trend filter that reacted instantly to every candle would also react to a great deal of noise.
Explaining TradingView Moving Averages: Tutorial
Watch “Explaining TradingView Moving Averages: Tutorial” from TradingView to see the platform setup and the visual difference between an SMA and EMA.
Start with setup and length. The key point is that length counts chart bars, so its meaning changes with the chart timeframe. Continue with source and offset, focusing on why Close is a conventional source and how offset moves only the displayed line. Finally, skip to the EMA comparison to see why two 50-period averages can occupy different positions.
SMA versus EMA
The SMA gives every bar in its lookback window equal weight. In a 50-period SMA, the close 49 bars ago matters just as much as the most recent close.
The EMA weights recent prices more heavily, while older prices retain a steadily diminishing influence. Its common recursive form is:
where:
For the same length, an EMA generally turns sooner toward a sharp price move than an SMA. Think of it as a smoothing filter with greater weight on recent samples: faster response, but more sensitivity to local fluctuations.
| Question | SMA | EMA |
|---|---|---|
| How are recent prices treated? | Equal to older prices in the lookback window | Given more weight |
| Response to a sudden move | Slower | Faster |
| Typical visual character | Smoother, steadier | Closer to price, more reactive |
| Common use | Broad trend context and moving reference zone | Faster assessment of recent trend or pullback behaviour |
| Main cost | More lag | More false changes in choppy conditions |
Neither is universally “better.” The meaningful question is whether the speed of the average matches the decision horizon you are examining.
Configure a clean comparison chart
Use a liquid, widely traded instrument first so that price gaps and erratic spreads do not dominate the lesson. QQQ, a large UK share such as LSE:HSBA, gold, or BTCUSD can all be useful examples. Start on the daily timeframe and load at least two years of data.
In TradingView:
- Open Indicators and add Moving Average twice, then add Exponential Moving Average once.
- Set the first Moving Average to:
- Length: 50
- Source: Close
- Offset: 0
- A muted colour, such as grey
- Set the EMA to:
- Length: 50
- Source: Close
- Offset: 0
- A contrasting colour, such as blue
- Set the second Moving Average to:
- Length: 200
- Source: Close
- Offset: 0
- A third colour, such as purple
Keep the indicator timeframe as Same as chart for now. A fixed daily moving average displayed on an intraday chart can be useful later, but mixing timeframes too early makes it harder to know what each line means.
The 50-period SMA, 50-period EMA, and 200-period SMA are not magical settings. They are simply a practical comparison set:
- The 50 SMA provides a medium-term, deliberately smooth reference.
- The 50 EMA shows how extra weight on current prices changes that same 50-bar view.
- The 200 SMA gives broad context. On a daily share chart it represents roughly a trading year, while on continuously traded crypto it represents 200 calendar days.
Do not use a non-zero offset for analytical decisions. Shifting a line forward can make a chart look cleaner, but it can visually suggest information that was not available at the time.
Reading trend and dynamic support or resistance
An average is most useful when it answers a narrow question: is price broadly acting above or below a rising or falling reference level?
A reasonable trend assessment combines price location, slope, and the swing structure already visible on the chart:
| Chart condition | Moving-average reading | Sensible interpretation |
|---|---|---|
| Price mainly above a rising 50 and 200 SMA | Both averages slope upward | Bullish trend context; pullbacks deserve attention, but are not automatic entries |
| Price mainly below falling averages | Both averages slope downward | Bearish trend context; a temporary rally may still be a rally within a downtrend |
| Price repeatedly crossing flat averages | Lines flatten and converge | Range or transition; trend signals deserve less trust |
| Price above a 200 SMA but below a falling 50 EMA | Long-term context constructive, recent movement weak | Mixed evidence; distinguish a pullback from a genuine trend failure using price structure |
The phrase dynamic support or resistance needs careful interpretation. A horizontal support zone stays at approximately the same price. A moving average changes every bar, so it is a moving reference, not a fixed floor or ceiling.
In an uptrend, a rising average below price can become an area where pullbacks pause or attract buyers. In a downtrend, a falling average above price can act as an area where rallies stall. But price can pass through either one without pausing. Treat the line as a zone for attention, not a price that “must hold.”
The TradingView reference emphasizes the same distinction: moving averages identify and confirm trends, but they are reactive rather than predictive.
A disciplined way to compare the two 50-period lines
With your chart configured:
- Locate an orderly rally and compare the 50 SMA with the 50 EMA. The EMA should usually turn upward and remain closer to price earlier.
- Find a sharp selloff. Notice that the EMA typically descends toward price faster than the SMA.
- Find a sideways period. Both lines may be crossed repeatedly. This is evidence that the market has not supplied a clean directional trend, not evidence that you need a faster indicator.
A useful observation note has only three fields: market regime, indicator behaviour, and what the indicator did not tell you. For example: “Range, 50 EMA crossed six times, none of the crosses identified a sustained trend.” This guards against remembering only the attractive signals.
Supertrend: a volatility-aware trend line
A moving average smooths price using past prices. Supertrend instead uses volatility, measured by Average True Range (ATR), to place a trailing line on one side of price.
True Range accounts for the full movement of a bar, including gaps relative to the previous close:
ATR is a moving average of true range. It does not tell you whether price will rise or fall; it estimates how much the instrument has been moving.
Supertrend begins with volatility-scaled band candidates around the bar midpoint:
Here, is the multiplier, often called the factor in TradingView. The finished Supertrend line uses rules involving the prior band and price close to trail price on the active side. The practical result is simple:
- A green line below price marks an active uptrend state.
- A red line above price marks an active downtrend state.
- A close through the active line can switch the state.
The SuperTrend Indicator: Tutorial
Watch “The SuperTrend Indicator: Tutorial” from TradingView for a visual explanation of the line, its ATR basis, and its two key settings.
Watch adding and reading to see where Supertrend appears on a chart and how its green and red states are interpreted. Then watch the ATR intuition for the relationship between price range and volatility. Finish with sensitivity settings, concentrating on how ATR length and factor alter the distance of the line from price and the frequency of state changes.
Read TradingView’s “Supertrend” reference to consolidate the indicator’s intended role: trend detection and volatility-aware stop positioning, not prediction.
In the “Definition” and “The basics” portions, read the definition, then find “What to look for” and read the direction rule. In the final “Summary,” note the warning that Supertrend can create false signals; this is particularly important when price is range-bound.
The two Supertrend settings that matter
A sensible baseline is ATR Length 10 and Factor 3, which is a common TradingView default configuration. Treat it as a starting point for observation, not an optimized setting.
ATR Length determines how many bars are used to estimate average range.
- A shorter ATR length responds more quickly to a recent volatility change.
- A longer ATR length produces a more stable volatility estimate.
- The timeframe gives the setting its real meaning: 10 daily bars and 10 five-minute bars describe entirely different markets.
Factor (multiplier) determines how far the line is placed from price in units of ATR.
- A lower factor, such as 2, places the line closer to price. It reacts sooner and flips more often.
- A higher factor, such as 4 or 5, places the line farther away. It tolerates deeper pullbacks and produces fewer flips.
- The trade-off is unavoidable: fewer premature flips generally means a later exit when a real reversal occurs.
The factor is therefore not a “profit dial.” It expresses how much normal volatility you are willing to tolerate before the trend state is considered invalid.
:max_bytes(150000):strip_icc()/SupertrendIndicatoronQQQDailyChart-5ee00c053f4e45e99a95ba86a181a7fc.png)
In the chart, the long green stretch is useful because price forms higher highs and higher lows while the line remains below it. That agreement between price structure and Supertrend matters more than the colour alone. The early range on the left is the opposite case: price congestion means a trend-following tool is being asked to identify a trend that may not exist.
Assess Supertrend flips only after the relevant bar closes. A daily Supertrend can appear to change state during a live daily candle and then revert before the daily close.
Whipsaws: the shared weakness of trend-following tools
A whipsaw is a sequence of signals that reverse quickly and repeatedly, often producing small losses or indecision without capturing a sustained move. Trend-following tools are not broken when this happens; they are encountering a market regime for which their logic is poorly suited.
A range-bound market commonly has:
- overlapping candles and swings that fail to extend,
- price oscillating around a relatively flat average,
- a 50 SMA and 50 EMA converging or flattening,
- Supertrend changing colour several times in a short region,
- no sustained sequence of higher highs and higher lows, or lower highs and lower lows.
Here is the practical comparison:
| Tool | What it filters | Typical whipsaw form | What reduces noise | What you give up |
|---|---|---|---|---|
| SMA | Price over a fixed lookback | Repeated price or MA crossovers around a flat line | Longer length | Earlier recognition of a new trend |
| EMA | Price, with recent bars weighted more | Faster repeated crossings during short-term chop | Longer length or a slower EMA | The EMA’s responsiveness |
| Supertrend | Price relative to ATR-scaled trailing band | Frequent green/red state flips in a range | Higher factor or longer ATR length | More distance before recognising reversal |
Avoid the reflex of endlessly changing parameters until past price looks perfect. That is curve fitting in miniature. Instead, test settings across different conditions:
- A sustained uptrend.
- A sustained downtrend.
- A volatile sideways range.
- A quieter sideways range.
For each condition, record the number of Supertrend flips, whether the 50 SMA and EMA slopes were clear or flat, and how far price travelled before the tool recognized a reversal. You are looking for the cost of the trade-off, not a setting that eliminates all losses.
A practical TradingView observation routine
Spend about 10 minutes applying this on one daily chart:
- Keep the 50 SMA, 50 EMA, 200 SMA, and Supertrend visible.
- Mark one obvious trend and one obvious range using only price swings.
- In the trend, inspect whether the indicator readings support the price structure.
- In the range, change Supertrend’s factor from 3 to 2, then to 5. Observe the extra flips at 2 and the wider tolerance at 5.
- Toggle the 50 SMA and 50 EMA visibility one at a time. Notice which line follows pullbacks more closely and which one gives a steadier broad reference.
- Restore the baseline settings before saving the layout.
The intended output is not a trade idea. It is a chart where each line has a named role:
- 200 SMA: broad market regime.
- 50 SMA: medium-term trend reference.
- 50 EMA: recent price responsiveness.
- Supertrend: volatility-adjusted trend state and possible trailing invalidation reference.
- Price swings: the primary evidence for whether a trend or range exists.
Key takeaways
Moving averages and Supertrend are trend-following, lagging tools. Their job is to organize evidence, not forecast prices.
- An SMA weights all bars equally and offers a steadier, slower reference.
- An EMA weights recent bars more heavily and responds faster, with greater susceptibility to short-term noise.
- Both can act as dynamic support or resistance zones, but neither is a guaranteed barrier.
- Supertrend uses ATR to place a volatility-scaled trailing line below price in an uptrend and above price in a downtrend.
- Shorter or closer settings react sooner; longer or wider settings reduce noise but accept more lag and drawdown.
- Flat averages, repeated crossings, and frequent Supertrend flips are warnings of a range, where trend-following signals should be treated cautiously.
Next, you will add RSI to this framework. Rather than treating “overbought” and “oversold” as automatic reversal calls, you will learn to read RSI in the context of the trend regime established here.
Can't find a good explanation? Sign up and we'll make it for you
Sign up