MT5 indicators← RSI Bands product page日本語の取扱説明書

This product is in preparation for release. Product files are not yet distributed; the manual is published so that you can review its content. This manual is an English translation of the Japanese manual. Images (screens and figures) are not translated and may contain Japanese text or earlier names.

For Trilogy users

RSI Bands

Shows RSI, a moving average of RSI, and a band made from the dispersion of RSI in one window. The settings of the blue average line and the calculation of the gray band are independent.

Indicator name: RSI BandsMetaTrader 5Separate window

The blue average line and the center of the band are separate calculations

Selected price → orange RSIRSI → blue moving average (method selectable)RSI → band of simple average ± standard deviationThe upper and lower limits of the band do not stay within 0–100
Schematic diagram of how to read it. This is not an actual terminal screen.
1

OrangeRSI of the selected price.

2

BlueAverages RSI with the specified method and period.

3

GrayThe center of the band is a simple average with a separate period. It is not necessarily the blue line.

RSI average and band in one windowThe band also goes outside 0–10030 and 70 are reference lines
1

MT5 display and examples of changed settings

Compares the default settings and a settings change example on a screen with only this product applied.

Settings change example: these items are changed
RSI period
InpRSIPeriod
8 → 4
RSI average period
InpMAPeriod
8 → 4
Band period
InpBandsPeriod
20 → 24

All other inputs remain at their defaults. On a PC, the default is on the left and the change example on the right; at smartphone width they appear in the same order from top to bottom.

Default settingsInpRSIPeriod = 8 / InpMAPeriod = 8 / InpBandsPeriod = 20
RSI Bands default settings
The orange RSI, the blue average line and 3 gray band lines are shown.
View the screen in detail at full size
RSI Bands default settings (actual size)
Settings change exampleInpRSIPeriod = 4 / InpMAPeriod = 4 / InpBandsPeriod = 24
RSI Bands settings change example
RSI and its average are changed to 4 bars and the band to 24 bars. Parts of the band beyond 0 or 100 are also shown.
View the screen in detail at full size
RSI Bands settings change example (actual size)

Example shown: 1-minute chart (M1). This is an example to explain the display. The settings change example is not a recommended value. Details can be checked in the full-size view. The vertical axis of the separate window is adjusted automatically for each image, so do not compare values by on-screen height alone.

2

How to read it in 30 seconds

Look at orange first

Read the RSI value itself and its changes.

Compare with blue

See the position relative to the RSI average.

The band is a guide to the distribution

It shows the recent dispersion of RSI and is not a range of future values.

3

What it measures

A display that overlays a moving average and a distribution band on the RSI series, not on price.

RSI

Calculated from the smoothed ratio of gains and losses. The value is 0–100.

Blue average line

Averages RSI with SMA, EMA, SMMA or LWMA.

Gray band

Draws upper and lower lines at population standard deviation × Bands Width around the simple average of the last Bands Period bars of RSI.

Independent settings

Changing MA Method or MA Period does not change the calculation of the gray band if the RSI input is the same.

4

Situations for reading the display

The blue line and the center line move apart

Indicator
The two may have different periods and methods.
Cross-check
Read the MA and Bands settings separately.
Check
Do not set them as duplicates on the assumption that they are the same line.
Caution
Even the defaults differ: 8 bars for the average and 20 bars for the band.

The band goes outside 0 and 100

Indicator
No upper or lower limit is placed on the distribution band.
Cross-check
Distinguish the orange RSI from the gray band.
Check
Confirm that the vertical axis is adjusted automatically.
Caution
It does not mean RSI itself went out of range.
5

Steps for checking the display

1

Identify the 3 types

Check the roles of orange, blue and gray.

2

Compare settings separately

Change 1 group of settings at a time, in the order RSI, MA, Bands.

3

Check the vertical axis

Because the scale is automatic, do not compare values only by height in the image.

6

Installation and checking the package contents

Included filePurpose / location
TRI_RSI_Bands.ex5The MT5 main file. Place it in MQL5/Indicators.

The ZIP contains only 1 item, the main file. The manual is opened from the product page on the site. Source code is not included. MT5 only; registration, account authentication and placing a license file are not required. Use it without changing the file name.

1

Extract the ZIP

Extract the ex5 main file rather than leaving it in the compressed file.

2

Open the data folder

In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.

3

Apply this product

Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.

4

Check the settings and display

First check with the default values. Changes and removal are done from the chart's 'Indicators List'.

This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.

7

Settings

There are 6 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.

RSI period

Name shown on screen
RSI Period
Input name
InpRSIPeriod
Default
8
Allowed range
2–500 bars
Description
Smoothing period n for gains and losses.

Price used for RSI

Name shown on screen
Applied Price
Input name
InpPrice
Default
Close
Allowed range
Close / Open / High / Low / Median / Typical / Weighted
Description
RSI is calculated from the selected price.

RSI average period

Name shown on screen
MA Period
Input name
InpMAPeriod
Default
8
Allowed range
1–500 bars
Description
Number of bars m averaged for the blue line.

RSI average method

Name shown on screen
MA Method
Input name
InpMAMethod
Default
Simple (SMA)
Allowed range
SMA / EMA / SMMA / LWMA
Description
Calculation method for the blue line only. The center of the band is always a simple average.

Band period

Name shown on screen
Bands Period
Input name
InpBandsPeriod
Default
20
Allowed range
2–500 bars
Description
Number of bars p used for the center of the band and the standard deviation.

Band width

Name shown on screen
Bands Width (x deviation)
Input name
InpBandsWidth
Default
2
Allowed range
0.1〜10
Description
Multiplier applied to the population standard deviation.
8

Usage specifications

Updates and sideways prices

The RSI, average and bands on the forming bar move with the price. Even if the price moves sideways, the RSI does not necessarily return to 50 right away.

Start of display

RSI starts from bar n+1. The blue line starts from bar n+1 with EMA and from bar n+m otherwise. The bands start from bar n+p. The defaults are the 9th, 16th and 28th bars.

Reference lines and bands

30 and 70 are fixed reference lines. Touching or crossing them does not determine future price movement.

Only 1 instance of the same product on 1 chart

This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.

For on-screen display only

This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.

9

Troubleshooting and usage notes

Only the average or the band is missing

Each needs additional history. Even when RSI appears, the average and band do not necessarily appear at the same time.

The band and the blue line do not match

The center is the simple average over Bands Period. It is independent of MA Method and MA Period.

It does not start after changing inputs

An input outside the allowed range is refused at startup. Check the English reason shown on the Experts tab of the Toolbox, not an explanation on the chart, and confirm by returning to the default values.

If the first display does not appear, check history loading and the input ranges. If an earlier display has stopped updating, first check the price feed and the terminal's connection status.

10

Technical information and specification details

RSI initialization

The first n changes are averaged, and after that gains and losses are updated with Wilder-type smoothing. The implementation sets 100 if losses are 0, and 50 if both gains and losses are 0.

Band formula

μ=SMA_p(RSI), σ=√(Σ(RSI−μ)²/p). Center μ, upper and lower μ±Width×σ. These are not Bollinger Bands on price.

Scope of cross-check with the standard

The main RSI line has been cross-checked against the MT5 standard RSI with the close at periods 2, 4, 8 and 14, and with the typical price at period 8. This does not show identity for all settings, including the blue line and the band.