TECHNICAL ANALYSIS / GUIDE

Moving averages and RSI: how to read and add them in MT5

How to read moving averages and RSI: the four MA formulas, the RSI formula and the 70/30 levels, plus how to add indicators in MT5 on desktop and mobile.

You added a moving average or RSI to a chart, but what do the line and the number actually measure?

A moving average joins the average closing price over a set number of bars. RSI turns the ratio of average gains to average losses into a number from 0 to 100. MT5 for desktop has 38 built-in indicators.

The formulas and groups below come from the MetaTrader 5 official help (checked 22 November 2026). By the end you can add both indicators in MT5 on desktop and mobile and explain where their numbers come from.

Short answer: moving averages and RSI are calculations on past prices

Illustration of a moving average over candlesticks and an RSI line in a separate window with 70 and 30 levels
  • A moving average joins the average close over a set number of bars
  • A shorter period stays closer to price; a longer one moves more slowly
  • RSI ranges from 0 to 100; the official help cites 70 and 30 as usual levels
  • MT5 desktop has 38 built-in indicators; the mobile apps have 30
  • Every indicator is a calculation on past prices and does not guarantee future moves

A technical indicator recalculates price or volume with a fixed formula. The MetaTrader 5 help calls it a mathematical transformation of the price of a financial instrument.

All prices and worked examples on this page are hypothetical. Candlesticks and timeframes are covered in a separate guide.

How to read forex charts: candlesticks, timeframes and moving averages

Types of technical indicators: 4 groups and 38 indicators in MT5

Chart of the built-in indicators in MT5 desktop: 13 trend indicators, 15 oscillators, 4 volume indicators and 6 Bill Williams indicators

MT5 for desktop sorts its built-in indicators into four groups. The Navigator window lists them in the same four groups.

Built-in technical indicators in MT5 (MetaTrader 5 official help, checked 22 November 2026)
Group (count)What the help saysExamples
Trend indicators (13)Point to the direction of price movementMoving Average, Bollinger Bands, Ichimoku
Oscillators (15)Show price deviation from its averageRSI, MACD, Stochastic
Volume indicators (4)Calculated from volumeVolumes, On Balance Volume
Bill Williams indicators (6)Part of the trading system in his booksAlligator, Fractals

According to the help, trend indicators are inefficient in flat markets. Oscillators are described as most useful for decisions when the market has no clear trend.

Forex volume means tick count

In the forex market, volume is the number of ticks (price changes) in a time interval. For exchange securities it means the volume of executed trades, the help explains.

Custom indicators can be added on top of the built-in set. The help points to the Code Base and the Market as places to get them.

How to read moving averages: the average price over a period

MetaTrader 5 help page for Moving Average, listing the four types above a candlestick chart with a red moving average line
Source: MetaTrader 5 official help (MetaQuotes) (captured 22 November 2026)

A moving average shows the mean price of an instrument over a set period. As the price changes, the average rises or falls with it.

Three things to look at first on a moving average
What to look atWhat it tells you
Slope of the lineWhether the average is rising or falling
Price versus the lineWhether the current price is above or below the average
Short line versus long lineThe gap between the recent average and the longer one

The help states that a buy signal appears when the price rises above its moving average and a sell signal when it falls below. It adds that this approach is not designed to enter at the bottom or exit at the top.

A signal promises nothing

Price sometimes crosses the line and turns straight back. An indicator reading is one input for a decision, not a trading instruction.

What the period means: the number of bars averaged

The period is the number of bars in the average. Period 20 on a daily chart covers the last 20 days; on an hourly chart it covers the last 20 hours.

  • Short period: new prices weigh more, so the line stays near the price
  • Long period: each bar weighs less, so the line moves slowly
  • Changing the timeframe changes how much time the same period covers

The four moving average types and formulas: SMA, EMA, SMMA, LWMA

Table of four moving average values calculated from the same hypothetical closes with period 5: SMMA 150.32, SMA 150.36, EMA 150.40, LWMA 150.45

MT5 offers four types of moving average. According to the help, they differ only in the weight given to the latest data.

Formulas for the four moving average types (MetaTrader 5 official help, checked 22 November 2026)
TypeFormulaWeighting
Simple (SMA)SUM(CLOSE(i), N) / NEvery price in the period has equal weight
Exponential (EMA)CLOSE(i) x P + EMA(i-1) x (1 - P)More weight on the latest close
Smoothed (SMMA)(SMMA(i-1) x (N-1) + CLOSE(i)) / NCarries the previous value forward N-1 times
Linear weighted (LWMA)SUM(CLOSE(i) x i, N) / SUM(i, N)Newer prices get larger weights

N is the period, CLOSE(i) is the closing price and P is the share of the latest close. The steps below work through all four with period 5 and hypothetical closes.

  1. 01
    Start with five closes

    Take hypothetical closes of 150.00, 150.20, 150.10, 150.40 and 150.30. The SMA is 751.00 / 5 = 150.20.

  2. 02
    The next bar closes at 150.80

    The oldest close, 150.00, drops out. The new five closes total 751.80, so the SMA becomes 150.36.

  3. 03
    Work out EMA and SMMA

    Use 150.20 as the previous value and assume P is one third. The EMA is 150.40. The SMMA is (150.20 x 4 + 150.80) / 5 = 150.32.

  4. 04
    Work out LWMA

    Multiply the closes by 1 to 5 from oldest to newest: the total is 2,256.80. Divide by the weight total of 15 to get 150.45.

In this example LWMA ended closest to the latest close of 150.80, followed by EMA, SMA and SMMA. The order depends on the sequence of prices and on P.

About P in the EMA

The help defines P as the percentage of using the price value. It does not show how to derive P from the period, so this example uses an assumed value.

What is RSI? An oscillator from 0 to 100 and the 70/30 levels

MetaTrader 5 help page for Relative Strength Index, showing RSI(14) with 70 and 30 lines under a price chart and the formula below
Source: MetaTrader 5 official help (MetaQuotes) (captured 22 November 2026)

The Relative Strength Index (RSI) is an oscillator that ranges between 0 and 100. It is drawn as a single line in a separate window under the price chart.

According to the help, Wilder recommended a 14-period RSI when he introduced it. The 9-period and 25-period versions gained popularity later.

Five ways of reading RSI listed in the help (MetaTrader 5 official help, checked 22 November 2026)
ItemWhat the help says
Tops and bottomsRSI usually tops above 70 and bottoms below 30
Chart formationsPatterns such as triangles can form on the RSI
Failure swingRSI surpasses a previous high or falls below a recent low
Support and resistanceSometimes shown more clearly than on price
DivergencesPrice makes a new high that RSI does not confirm

The help presents 70 and 30 as usual levels, not fixed rules. Price can keep rising after RSI passes 70, so the number alone does not mark a top or bottom.

Overbought and oversold

Many explanations call readings above 70 overbought and below 30 oversold. The labels describe a state. They do not tell you when a reversal will happen.

The RSI formula: average gains against average losses

Three-step RSI calculation: gains of 1.40 yen and losses of 0.70 yen give U = 0.10 and D = 0.05, and an RSI of 66.67

The formula in the help is RSI = 100 - 100 / (1 + U / D). U is the average of positive price changes and D is the average of negative price changes.

  1. 01
    Split 14 price changes

    Assume 8 bars rose for a total gain of 1.40 yen and 6 bars fell for a total loss of 0.70 yen.

  2. 02
    Divide by 14

    U is 1.40 / 14 = 0.10. D is 0.70 / 14 = 0.05.

  3. 03
    Apply the formula

    U / D is 2. 100 - 100 / (1 + 2) gives an RSI of 66.67.

U / D and the resulting RSI (hypothetical ratios in the official formula)
U / DRSIBalance of moves
0.43 (3 / 7)30Average loss is about 2.33 times the average gain
150Average gain equals average loss
266.67The worked example above
2.33 (7 / 3)70Average gain is about 2.33 times the average loss
990Average gain is 9 times the average loss

An RSI of 70 means the average gain is about 2.33 times the average loss. At 30 the ratio is reversed. The number describes how one-sided the moves in the period were.

Assumption in this example

The example divides both gains and losses by all 14 bars, a plain average. The help gives the formula and the definitions of U and D only. A different averaging method produces a different RSI.

How to add indicators in MT5 (desktop)

Numbered MT5 desktop screen from the official help: the Indicators groups in the Navigator, an indicator name, the drop point on the chart and the Insert menu

On MT5 for desktop, drag an indicator from the Navigator window onto a chart. The help describes this as the most convenient way to apply one.

  1. 01
    Open the Navigator

    Expand Indicators in the Navigator window. Four groups appear.

  2. 02
    Find the indicator

    Moving Average is under Trend. Relative Strength Index is under Oscillators.

  3. 03
    Drag it onto the chart

    Drop the indicator name on the chart. The Insert menu and a button on the Standard toolbar do the same job.

  4. 04
    Check the settings and press OK

    Confirm the period and the applied price. The moving average is drawn on the price chart and RSI in a separate window.

Tabs in the indicator settings window (MetaTrader 5 official help, checked 22 November 2026)
TabWhat you set
ParametersPeriod, applied price (nine options such as Close), line colour and width
LevelsValues and descriptions for horizontal lines
ScaleFixed minimum and maximum of the vertical axis, for some indicators
VisualizationThe timeframes on which the indicator is shown

To change settings later, choose Properties in the context menu of the indicator on the chart. Delete in the same menu removes it from the chart.

MT4 vs MT5: differences, which to choose, broker support and how to switch

How to show moving averages and RSI in the MT5 mobile app

Numbered MT5 for Android screen from the official help: the indicators icon above the chart, the add icon next to a window, Moving Average in the list and a separate indicator window

MT5 for iPhone/iPad and MT5 for Android each have 30 built-in indicators. The two apps differ in where you start and in how many indicators you can add.

Indicator controls in the MT5 mobile apps (MetaTrader 5 official help, checked 22 November 2026)
ItemiPhone/iPadAndroid
Built-in indicators3030
Where to addTap a header such as Main chart on the Indicators screenIndicators icon on the top panel of the chart or in the radial menu
LimitUp to 128 indicators on a chartNo more than 32 across all charts
RemovingSwipe the indicator line and tap DeleteTap the delete button, tick the indicators, tap it again
  1. 01
    Tap the indicators icon

    Open the chart of the symbol and tap the indicators icon on the top panel.

  2. 02
    Choose where to add

    On a chart with no indicators the list opens at once. Otherwise tap the add icon next to the window you want.

  3. 03
    Pick the indicator

    Choose Moving Average under TREND or Relative Strength Index under OSCILLATORS.

  4. 04
    Set and confirm

    Check the period, method and applied price. An indicator that needs its own window gets one automatically.

The four steps follow the Android help. On iPhone, tap a header on the indicators management screen to open the list.

How to use MT5 on your phone: login, orders and closing

What to know before relying on technical indicators

Checklist of four checks before using technical indicators: past data only, matching settings, comparing timeframes and testing on a demo account

An indicator is the result of putting past prices into a formula. Until the current bar closes, the latest value moves with the price.

How each group behaves (summarised from the MetaTrader 5 official help, checked 22 November 2026)
SubjectBehaviour and caution
Trend indicatorsDetect reversals synchronously or with a delay. Inefficient in flat markets
OscillatorsSaid to define reversal points in advance or simultaneously. The usual levels are general guides only
Period and other settingsChanging the period changes both the line and the number
Risk of loss

Forex and CFDs are leveraged products and you can lose the money you deposit. Whatever an indicator shows, set your own position size and maximum loss.

  • Treat every reading as a calculation on past prices, not a forecast
  • Match the period and applied price before comparing two charts
  • Change the timeframe and compare the same indicator
  • Try adding and editing indicators on a demo account

Forex money management: risk per trade, lot size and margin level

Forex demo account: how to open one and how it differs from live

Frequently asked questions

Q. How do I read a moving average?

A. Start with three things: the slope of the line, whether the price is above or below it, and where a short line sits against a long one. The line is the average price over a set period, so its slope shows whether that average is rising or falling. It is calculated from past prices and does not guarantee future moves.

Q. What does the period of a moving average mean?

A. It is the number of bars in the average. Period 20 on a daily chart covers the last 20 days, and on an hourly chart the last 20 hours. A shorter period keeps the line closer to price; a longer one makes it move more slowly.

Q. What is the difference between SMA and EMA?

A. The weighting. SMA gives every price in the period equal weight, while EMA puts more weight on the latest close. In the hypothetical example on this page the same closes give an SMA of 150.36 and an EMA of 150.40.

Q. What is RSI and how is it calculated?

A. RSI is an oscillator that ranges from 0 to 100. The MetaTrader 5 help gives the formula RSI = 100 - 100 / (1 + U / D), where U is the average of positive price changes and D the average of negative ones. If U / D is 2, RSI is 66.67.

Q. What do RSI 70 and 30 mean?

A. The MetaTrader 5 help says RSI usually tops above 70 and bottoms below 30. In the formula, 70 means the average gain is about 2.33 times the average loss. The number alone does not tell you when a reversal will happen.

Q. How do I add indicators in MT5?

A. On desktop, drag the indicator name from the Navigator window onto the chart. The Insert menu and a button on the Standard toolbar also work. Check the period and applied price in the settings window and press OK.

Q. Can I use moving averages and RSI in the MT5 mobile app?

A. Yes. MT5 for iPhone/iPad and MT5 for Android each have 30 built-in indicators. The iPhone app allows up to 128 indicators on a chart. The Android app allows no more than 32 across all charts.

Q. How many types of technical indicators are there in MT5?

A. MT5 for desktop has 38 built-in indicators: 13 trend indicators, 15 oscillators, 4 volume indicators and 6 Bill Williams indicators. Custom indicators can be added on top of these.

Sources and conditions

How this guide is maintained

FX Textbook is edited from official platform documentation, broker-published information and applicable terms where available. Account conditions, services and rules can change. Confirm the current terms in the broker's registration flow before you act.

Important risk information

FX Textbook is an independent information site, not a broker or provider of personal investment advice. Forex and CFDs involve risk. You may lose some or all of your invested capital. No trading result is guaranteed.

NEXT STEP

Next: check which platforms each account supports

MT4 and MT5 availability differs by broker and account type. Compare platforms and account conditions for each listed broker on the same items.

Compare broker accounts →

Apply this checklist to broker information

BROKER INFORMATIONXS: account options and conditionsBROKER INFORMATIONHFM: account options and conditionsBROKER INFORMATIONDecodeFX: account options and conditions

Compare featured brokers on one basis →

Read next

TECHNICAL ANALYSISHow to Read Forex Charts: Candlesticks, Timeframes and Moving Averages for BeginnersTRADING PLATFORMSMT4 vs MT5: Differences, Which to Choose, Broker Support and How to SwitchRISK MANAGEMENTForex money management: how to set risk per trade, lot size and margin level (beginner guide)FOREX BASICSForex Demo Account: How to Open One, How It Differs from Live, and How to Practice
← Back to guidesAdvertising & risk disclosure →