MT5 indicators← Accumulated RSI Levels 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

Accumulated RSI Levels

Sums the RSI of the close over several bars and builds 3 levels from the high-low range of that sum itself. It records the position of the main line relative to the levels in 3 colors, and also has a feature that notifies you of color changes on closed bars.

Indicator name: Accumulated RSI LevelsMetaTrader 5Separate window

Compares the RSI sum with moving levels

Add up RSI → build levels from the range of the sumUpper levelMiddle levelLower levelThe levels themselves are also recalculated on each bar
Schematic diagram of how to read it. This is not an actual terminal screen.
1

The main line is a sumIt is not an average of RSI. Changing the number of bars summed also changes the scale of the values.

2

3 levelsBuilt from the range between the lowest and highest recent sums, and they move on every bar.

3

Green, blue, redAbove the upper level is green and below the lower level is red. Between them and on a level is blue.

Not fixed 80/20 linesValue and color change while formingNotifications OFF by default
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
Number of bars to sum RSI
InpAccumulationPeriod
5 → 3
Period for the levels
InpLevelsPeriod
25 → 50
Upper level position
InpUpperLevelPercent
80 → 70
Lower level position
InpLowerLevelPercent
20 → 30

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 settingsInpAccumulationPeriod = 5 / InpLevelsPeriod = 25 / InpUpperLevelPercent = 80 / InpLowerLevelPercent = 20
Accumulated RSI Levels default settings
Compare the colored main line with the 3 silver levels. The header values are upper, middle, lower and main line, in that order.
View the screen in detail at full size
Accumulated RSI Levels default settings (full size)
Example of changed settingsInpAccumulationPeriod = 3 / InpLevelsPeriod = 50 / InpUpperLevelPercent = 70 / InpLowerLevelPercent = 30
Accumulated RSI Levels example of changed settings
The sum period is changed from 5 to 3, the level period from 25 to 50, the upper level from 80 to 70%, and the lower level from 20 to 30%. Because the number of bars summed differs, the scale of the vertical axis values also changes.
View the screen in detail at full size
Accumulated RSI Levels example of changed settings (full size)

Published example: M1. This is an example to explain the display. The example with changed settings is not a set of recommended values. Details can be checked in the actual-size view. Also check the vertical axis and units of the separate window. Except for products with a fixed scale, the scale changes with the settings and the displayed range.

2

How to read it in 30 seconds

Separate it from RSI itself

By default it draws the sum of 5 bars of RSI. It is not a line kept within 0 to 100.

Look at the moving levels first

The upper and lower levels are calculated from the range of recent sums, including the current bar.

Color is the positional relationship

Even if the main line has the same value, the color can change if the levels move.

3

What it measures

Check the size of the main line and its position within the recent range separately.

Adding up RSI

Adds the RSI of the close over Accumulation Period bars, in order from the oldest bar. The theoretical range of the sum is 0 to 100 × number of bars summed.

Measured upward from the lowest value

With lo as the lowest and hi as the highest of the sums over Levels Period bars, the upper and lower levels are lo + (hi − lo) × the specified %. 80% does not mean a line height of 80.

Middle level

The midpoint of the upper and lower levels. It corresponds to the average of the upper and lower %, and depending on the settings it does not match 50% of the whole range.

What the colors show

Green if the main line is strictly above the upper level, red if below the lower level, and blue otherwise. The main line before the levels are calculated is also shown in blue.

4

Situations for reading the display

The color changes while the line does not move

Indicator
The position relative to the levels has changed.
Cross-check
Old highs and lows can also drop out of the window.
Check
Look at the upper and lower levels, not only the main line.
Caution
Color changes cannot be explained by increases and decreases of the main line alone.

Exceeds 100

Indicator
It is the sum of several bars of RSI.
Cross-check
Check Accumulation Period.
Check
Do not apply the scale of RSI itself.
Caution
Do not directly compare heights on screens with different numbers of bars summed.

The levels and the main line overlap

Indicator
If the high-low range of the sums in the window is 0, the levels are also at the same position.
Cross-check
The result of the strict comparison is blue.
Check
Do not judge equal values from the display rounding alone.
Caution
Very small calculation errors can affect the color boundary.
5

Steps for checking the display

1

Check the number of bars summed

The default is the sum of 5 bars of RSI.

2

Tell the 3 levels apart

Check the silver dotted upper, middle and lower lines.

3

Compare the main line with the levels

Read green, blue and red as positional relationships.

4

Notifications only when needed

Enabling Alert on Color Change notifies you when the color changes on a new closed bar.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Accumulated_RSI_Levels.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'.

Using this product does not require allowing DLLs. 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 item names and input names defined in the source are shown together.

RSI period

English item name
RSI Period
Input name
InpRSIPeriod
Default
14
Allowed range
Integer 2 to 1000
Description
The period for calculating the RSI of the close.

Number of bars to sum RSI

English item name
Accumulation Period
Input name
InpAccumulationPeriod
Default
5
Allowed range
Integer 1 to 1000
Description
1 gives RSI itself. With larger values, the scale of the sum also changes.

Period for the levels

English item name
Levels Period
Input name
InpLevelsPeriod
Default
25
Allowed range
Integer 2 to 1000
Description
The number of bars, including the current bar, for finding the lowest and highest sums.

Upper level position

English item name
Upper Level Percent
Input name
InpUpperLevelPercent
Default
80
Allowed range
0 to 100%, a value greater than the lower level
Description
Measured from the bottom of the range from the lowest to the highest sum.

Lower level position

English item name
Lower Level Percent
Input name
InpLowerLevelPercent
Default
20
Allowed range
0 to 100%, a value less than the upper level
Description
The position measured from the lowest sum.

Color change notification on closed bars

English item name
Alert on Color Change
Input name
InpAlertColorChange
Default
false
Allowed range
true / false
Description
Default false. Notifications do not occur for each color change while forming.
8

Usage specifications

Forming bar

The values and colors of the rightmost bar change while the bar is forming. Past displays are also recalculated when history is added or corrected or settings are changed.

Do not judge blanks by the displayed numbers alone

If the required history is insufficient, lines and bars are not drawn. The 0 in the header alone cannot distinguish a valid 0 from the state before calculation, so check the number of bars and the drawing together.

Number of bars needed for preparation

The main line starts from bar RSI Period+Accumulation Period, and the levels Levels Period−1 bars later. The defaults are bar 19 for the main line and bar 43 for the levels.

Effect of the start of the history

RSI smoothing carries over past states. If the start of the loaded history changes, values and colors may differ. How many bars later they match is not uniformly determined.

Scope of notifications

No notification is sent right after first attaching; state changes are checked from new closed bars. Not all changes during an interruption are notified; the target is the latest closed bar at resumption.

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

Displays, marks and notifications are records of calculation results. They do not direct trading decisions and do not guarantee future price movements.

9

Troubleshooting and usage notes

Nothing is displayed

Check the required history and the input ranges. With out-of-range inputs, the indicator does not calculate or draw, and the reason appears in English on the MT5 "Experts" tab.

Details are hard to read

Open the full-size display of the comparison image. In the terminal, enlarge the separate window vertically to check the lines and scale.

The levels do not appear yet

The levels start to be drawn after the main line. Sections with only the main line are blue.

Colors appear even with the upper and lower levels at 100% and 0%

Normally the main line falls within the range, but rounding in the upper-level calculation can make it green. Do not judge the strict internal comparison from equal values on the display alone.

No notification even though the color changed

The forming bar is not covered. Check the notification setting, the suppression on the first run, and whether the closed bars needed for the comparison exist.

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

Definition of RSI

Starts from the average of the upward and downward changes over the first period, and then updates with (previous average × (period − 1) + current change) ÷ period. If the average down is 0 and there is some up, the value is 100; if both are 0, it is 50. This explanation does not guarantee an exact match with the standard RSI.

Notification text

Distinguishes 4 types: the new state is above the upper level, below the lower level, from above the upper level to between the levels, and from below the lower level to between the levels. It compares the states of 2 consecutive closed bars after the levels have appeared.

Moving levels and strict comparison

The upper and lower levels are built on every bar from a window that includes the current bar. Even if the main line value itself does not change, the color can change with changes in the window's highest and lowest values. The heading is rounded to 2 decimal places, but the color is determined by the value before rounding.

Scope of functions

This product itself does not send email or push notifications. Colors and notifications are records of the calculation state and do not show future price changes.

Color frequency and notification state

Green and red do not mean a rare state far outside fixed levels. A color often appears when the window's highest or lowest value is updated, and the frequency changes with the settings and data. A color change caused only by the movement of the levels is also a notification condition. Even in cases such as a direct change from above the upper level to below the lower level, the rule is to report the new state 1 time.

Window name and displayed digits

The values in parentheses are, in order, RSI Period, Accumulation Period, Levels Period, Upper and Lower. The upper and lower % are shown with 2 decimal places in the window name, but the calculation uses the entered values. With Upper 100 and Lower 0, the lower level is the window's minimum value itself, so the red condition is not met, while only the upper level can become green due to rounding in the calculation.