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

- 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

MT5 for desktop sorts its built-in indicators into four groups. The Navigator window lists them in the same four groups.
| Group (count) | What the help says | Examples |
|---|---|---|
| Trend indicators (13) | Point to the direction of price movement | Moving Average, Bollinger Bands, Ichimoku |
| Oscillators (15) | Show price deviation from its average | RSI, MACD, Stochastic |
| Volume indicators (4) | Calculated from volume | Volumes, On Balance Volume |
| Bill Williams indicators (6) | Part of the trading system in his books | Alligator, 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.
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

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.
| What to look at | What it tells you |
|---|---|
| Slope of the line | Whether the average is rising or falling |
| Price versus the line | Whether the current price is above or below the average |
| Short line versus long line | The 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.
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

MT5 offers four types of moving average. According to the help, they differ only in the weight given to the latest data.
| Type | Formula | Weighting |
|---|---|---|
| Simple (SMA) | SUM(CLOSE(i), N) / N | Every 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)) / N | Carries 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.
- 01Start 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.
- 02The 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.
- 03Work 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.
- 04Work 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.
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

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.
| Item | What the help says |
|---|---|
| Tops and bottoms | RSI usually tops above 70 and bottoms below 30 |
| Chart formations | Patterns such as triangles can form on the RSI |
| Failure swing | RSI surpasses a previous high or falls below a recent low |
| Support and resistance | Sometimes shown more clearly than on price |
| Divergences | Price 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.
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

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.
- 01Split 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.
- 02Divide by 14
U is 1.40 / 14 = 0.10. D is 0.70 / 14 = 0.05.
- 03Apply the formula
U / D is 2. 100 - 100 / (1 + 2) gives an RSI of 66.67.
| U / D | RSI | Balance of moves |
|---|---|---|
| 0.43 (3 / 7) | 30 | Average loss is about 2.33 times the average gain |
| 1 | 50 | Average gain equals average loss |
| 2 | 66.67 | The worked example above |
| 2.33 (7 / 3) | 70 | Average gain is about 2.33 times the average loss |
| 9 | 90 | Average 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.
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)

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.
- 01Open the Navigator
Expand Indicators in the Navigator window. Four groups appear.
- 02Find the indicator
Moving Average is under Trend. Relative Strength Index is under Oscillators.
- 03Drag 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.
- 04Check 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.
| Tab | What you set |
|---|---|
| Parameters | Period, applied price (nine options such as Close), line colour and width |
| Levels | Values and descriptions for horizontal lines |
| Scale | Fixed minimum and maximum of the vertical axis, for some indicators |
| Visualization | The 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

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.
| Item | iPhone/iPad | Android |
|---|---|---|
| Built-in indicators | 30 | 30 |
| Where to add | Tap a header such as Main chart on the Indicators screen | Indicators icon on the top panel of the chart or in the radial menu |
| Limit | Up to 128 indicators on a chart | No more than 32 across all charts |
| Removing | Swipe the indicator line and tap Delete | Tap the delete button, tick the indicators, tap it again |
- 01Tap the indicators icon
Open the chart of the symbol and tap the indicators icon on the top panel.
- 02Choose 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.
- 03Pick the indicator
Choose Moving Average under TREND or Relative Strength Index under OSCILLATORS.
- 04Set 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.
What to know before relying on technical indicators

An indicator is the result of putting past prices into a formula. Until the current bar closes, the latest value moves with the price.
| Subject | Behaviour and caution |
|---|---|
| Trend indicators | Detect reversals synchronously or with a delay. Inefficient in flat markets |
| Oscillators | Said to define reversal points in advance or simultaneously. The usual levels are general guides only |
| Period and other settings | Changing the period changes both the line and the number |
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
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.
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.




