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.
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.
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.
3 levelsBuilt from the range between the lowest and highest recent sums, and they move on every bar.
Green, blue, redAbove the upper level is green and below the lower level is red. Between them and on a level is blue.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
By default it draws the sum of 5 bars of RSI. It is not a line kept within 0 to 100.
The upper and lower levels are calculated from the range of recent sums, including the current bar.
Even if the main line has the same value, the color can change if the levels move.
Check the size of the main line and its position within the recent range separately.
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.
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.
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.
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.
The default is the sum of 5 bars of RSI.
Check the silver dotted upper, middle and lower lines.
Read green, blue and red as positional relationships.
Enabling Alert on Color Change notifies you when the color changes on a new closed bar.
| Included file | Purpose / location |
|---|---|
| TRI_Accumulated_RSI_Levels.ex5 | The 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.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.
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.
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.
InpRSIPeriodInpAccumulationPeriodInpLevelsPeriodInpUpperLevelPercentInpLowerLevelPercentInpAlertColorChangeThe 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.
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.
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.
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.
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.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
Displays, marks and notifications are records of calculation results. They do not direct trading decisions and do not guarantee future price movements.
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.
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 start to be drawn after the main line. Sections with only the main line are blue.
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.
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.
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.
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.
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.
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.
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.
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.