FTMO Academy
Course
20m read

Technical Indicators: Period, Source and Calculation Types

Technical Analysis

Every trading indicator you will ever use has three settings in common: period, source, and calculation type. These settings determine what the indicator shows you and what it hides. Before you learn any specific indicator, you need to understand what these settings control and how changing them affects the output.

What Are Technical Indicators

Technical indicators are mathematical formulas applied to price and volume data. They appear as lines, histograms, or bands on your chart – either overlaid on the price or displayed in a separate panel below.

Their purpose is specific: they quantify aspects of price action that are difficult to read from raw candlesticks alone. A moving average shows trend direction. The Relative Strength Index (RSI) measures momentum strength, while the Average True Range (ATR) quantifies volatility. Each trading indicator uses the same underlying price data but transforms it into a different perspective.

Keep in mind

Indicators do not predict the future. Every indicator processes historical data. The values you see on your chart are always a reflection of what already happened – not what will happen next. The settings you choose determine how much past data the indicator uses and how it processes that data.

Four broad categories of technical analysis indicators exist – trend, momentum, volatility, and volume. Each category and its key indicators are covered in dedicated lessons later in this module. What all of them share is a set of configurable parameters. The three most universal are period, source, and calculation type. Indicators don’t add new information – they reorganise the data you already have. Understanding settings means understanding exactly how that reorganisation works.

For example, moving averages belong to trend indicators, the Relative Strength Index (RSI) is a momentum indicator, the Average True Range (ATR) measures volatility, and On-Balance Volume (OBV) is a volume-based indicator.

Regardless of category, all indicators share a set of configurable parameters. The three most universal are period, source, and calculation type. The period defines how much historical data is used, the source determines which price is applied (such as close or high), and the calculation type specifies how the data is processed.

Period: How Far Back the Indicator Looks

The period – also called “length” – is the number of candles the indicator includes in its calculation. A 14-period RSI calculates momentum from the last 14 candles. A 50-period moving average averages the last 50 closing prices. Change the period, and you change how much historical data feeds into the result.

This creates a fundamental trade-off: sensitivity versus lag.

A shorter period makes the indicator react faster to new price movements. It produces more signals and tracks price more closely. The cost: more noise. Many of those signals will be false – the indicator responds to minor fluctuations that don’t represent meaningful changes in trend or momentum.

A longer period smooths out the noise. The indicator line moves more gradually, filters out minor price swings, and gives fewer but more reliable signals. The cost: lag. By the time a long-period indicator confirms a trend change, the move may already be well underway.

There is no universally “correct” period. The right setting depends on your timeframe, your strategy, and what you need the indicator to do.

CharacteristicShort Period (e.g. 7)Long Period (e.g. 50)
Reaction speedFastSlow
Number of signalsMoreFewer
Signal reliabilityLower (more false signals)Higher (more confirmed moves)
Noise filteringMinimalStrong
LagLowHigh
Best suited forShort-term trading, scalpingSwing trading, trend confirmation

Default periods exist for most indicators – RSI 14, ATR 14, MA 20/50/200, MACD 12/26/9. These are industry conventions based on decades of use. They are reasonable starting points, not optimal values.

This sensitivity-versus-lag trade-off is also what separates leading and lagging indicators in practice. Shorter periods push any indicator toward leading behaviour – it reacts early, but with less certainty. Longer periods shift it toward lagging behaviour – it confirms what already happened, but with greater reliability.

What Are the Common Default Settings?

Most technical indicators come with default periods that are widely used across the industry. Common examples include the Relative Strength Index (RSI) set to 14, the Average True Range (ATR) set to 14, moving averages set to 20, 50 or 200, and the MACD configured with 12/26/9.

These defaults are based on long-term use and are often used as a starting point, rather than as universally optimal values.

Keep in mind

In practice, changing the period affects the indicator’s sensitivity. Shorter periods (e.g. RSI 7 or MA 10) make the indicator more responsive but increase noise. Longer periods (e.g. RSI 21 or MA 100) reduce noise but introduce more lag.

This trade-off between sensitivity and lag also helps explain the difference between leading and lagging behaviour. Shorter settings tend to react earlier but with less certainty, while longer settings tend to confirm trends more reliably but later.

Rather than focusing on a single “best” setting, it is generally more useful to understand how each adjustment affects the output and to consider how it fits a given strategy and timeframe.

Tip

Start with default period settings. Change them only after you understand what the change does to the indicator’s behaviour – and why that change fits your strategy.

Period and Timeframe Are Not the Same Thing

Period and timeframe are related but distinct concepts. The period is the number of bars in the calculation. The timeframe is the duration of each bar – M5, H1, D1.

A 14-period RSI on a 5-minute chart uses 70 minutes of price data. The same 14-period RSI on a daily chart uses 14 trading days – roughly three weeks. The indicator formula is identical. The real-world time window is completely different.

This is why the same indicator with the same period setting can behave differently across timeframes. A 14-period RSI on a 5-minute chart captures intraday momentum shifts. On a daily chart, it captures multi-week momentum cycles. Understanding this distinction is essential for multiple timeframe analysis.

Which Price Data the Indicator Uses

Every candlestick contains four price values: Open, High, Low, and Close. These are the raw inputs available to any indicator. The source setting determines which of these values the indicator uses. In MetaTrader 4 (MT4) and MetaTrader 5 (MT5), this setting appears as “Apply to” in the indicator parameters dialog. In TradingView, it is labelled “Source.” In cTrader, it appears under “Source” in the indicator settings panel.

Most indicators default to Close. The closing price is widely considered the most significant price of a candle because it represents the final consensus between buyers and sellers for that period.

However, the source setting offers several alternatives:

SourceFormulaTypical Use
CloseLast price of the candleDefault for most indicators (MA, RSI, MACD)
OpenFirst price of the candleRarely used; some opening-range strategies
HighHighest price of the candleUpper boundary analysis
LowLowest price of the candleLower boundary analysis
HL2 (Median Price)(High + Low) / 2Smooths close-price spikes; some oscillators
HLC3 (Typical Price)(High + Low + Close) / 3Default for CCI; balances range and settlement
OHLC4(Open + High + Low + Close) / 4Most averaged; smoothest representation

Why does this matter? Changing the source changes the indicator’s output. A moving average calculated on Close will differ from the same moving average calculated on HL2 – especially on volatile candles with long wicks where the closing price is far from the candle’s midpoint.

In general, it is advisable to keep the source at its default unless you have a specific, tested reason to change it. Switching from Close to HLC3 adds a variable to your analysis. That variable should be understood and backtested – not changed on a hunch.

Calculation Type: How the Indicator Processes the Data

Once the period and source are defined, the calculation type determines the mathematical method applied to those data points. The clearest way to understand this is through moving averages – the same period and source can produce visibly different lines depending on the calculation method.

Simple Moving Average (SMA)

The SMA divides the sum of all values in the period by the number of periods. Every candle in the range carries equal weight.

A 20-period SMA on Close adds up the last 20 closing prices and divides by 20. The candle from 20 bars ago has exactly the same influence as yesterday’s candle.

The result: a smooth, stable line that filters noise effectively.

The trade-off: the SMA is the slowest to react when price direction changes, because old data carries the same weight as new data.

Exponential Moving Average (EMA)

The exponential moving average applies a weighting multiplier that gives progressively more weight to recent candles. Newer data has more influence on the current value than older data.

The result: the EMA follows price more closely than the SMA. It reacts faster to new movements, which makes it a common choice for short-term analysis and crossover signals.

The trade-off: because the EMA emphasises recent data, it is also more sensitive to noise. A sharp single-candle spike will pull the EMA more than it would pull the SMA.

Weighted Moving Average (WMA) and Others

The WMA assigns linearly increasing weight to each candle – the newest candle gets the highest weight, the oldest gets the lowest. It sits between the SMA and EMA in terms of responsiveness.

Other variants exist: Hull Moving Average (HMA), Smoothed Moving Average (SMMA), and several more. In practice, SMA and EMA cover the vast majority of use cases. Learning these two gives you the mental model to understand any variant.

The key principle extends beyond moving averages. Many indicators – RSI, MACD, Stochastic – use moving average calculations internally. When you change the “MA type” setting on an RSI or Stochastic oscillator, you are changing the calculation type inside that indicator. A Stochastic smoothed with SMA behaves differently from one smoothed with EMA, even if the period and source are identical. This applies to any indicator with an “MA type” or “smoothing” setting – not only standalone moving averages.

How the Three Settings Work Together

Period, source, and calculation type are not independent variables. They interact.

Consider two configurations of a moving average:

  • Configuration A: 14-period SMA on Close
  • Configuration B: 7-period EMA on HLC3

Both are “moving averages.” Both appear as a single line on the chart. However, they show fundamentally different things. Configuration A is a slow, smooth trend filter using settlement prices. Configuration B is a fast, responsive line using a blended price that incorporates the full candle range.

The combination you choose should serve your strategy. A scalper needs fast signals – shorter periods, EMA calculation, possibly HL2 source to reduce wick distortion. A swing trader needs trend confirmation – longer periods, SMA calculation, Close source for stability.

The disciplined approach is to understand the defaults first. Then adjust one variable at a time. If you change the period, keep source and calculation type constant. Observe the effect. Document the change and its result. This connects directly to backtesting – every settings change is a hypothesis that needs testing on out-of-sample data.

Warning

Optimising indicator settings to fit past price data is called curve-fitting. An indicator that “works perfectly” on historical charts may fail on live data. Test any settings change on out-of-sample data before using it in your trading.

Keep in mind

Traders tend to see patterns in optimised settings that may not exist. If a 13-period EMA “works better” than a 14-period EMA on your backtest, that difference is likely noise – not an edge. Small parameter changes rarely produce meaningful improvements. Focus on whether the indicator concept fits your strategy, not on fine-tuning numbers.

Share

All information provided on this site is intended solely for educational purposes related to trading on financial markets and does not serve in any way as a specific investment recommendation, business recommendation, investment opportunity analysis or similar general recommendation regarding the trading of investment instruments. FTMO only provides services of simulated trading and educational tools for traders. The information on this site is not directed at residents in any country or jurisdiction where such distribution or use would be contrary to local laws or regulations. FTMO companies do not act as a broker and do not accept any deposits. The offered technical solution for the FTMO platforms and data feed is powered by liquidity providers.