Check the colors
Blue is the RSI, green is the upper-side highest value and red is the lower-side lowest value.
Shows, as step lines, the highest and lowest RSI values while the RSI is on one side of 50.
Blue = RSIThe latest value changes while the bar is forming.
Green = upper-side highest valueRecords the sections where the RSI is above 50, and resets at 50 or below.
Red = lower-side lowest valueRecords the sections where the RSI is below 50, and resets at 50 or above.
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.
Blue is the RSI, green is the upper-side highest value and red is the lower-side lowest value.
If the RSI is above, read its difference from green; if below, from red. The line on the opposite side is 50.
The step lines on the latest bar also change. They are not lines that keep storing the intrabar maximum and minimum.
Compare the distance between the current RSI and the RSI extreme recorded in the section on the same side. These are not price highs and lows.
While the RSI is above 50, shows the larger of the upper-side highest value up to the previous closed bar and the current RSI. It resets to 50 at 50 or below.
While the RSI is below 50, shows the smaller of the lower-side lowest value up to the previous closed bar and the current RSI. It resets to 50 at 50 or above.
The difference from the extreme on the same side is the retracement from the RSI extreme of that section. The distance from the 50 on the opposite side is not read with the same meaning.
The silver dotted line at 50 appears above the step lines. When a line returns to 50 they overlap, but it is not specified that the dotted line is hidden.
Check blue, green, red and the silver dotted line at 50.
If blue is above 50, look at green; if below, look at red.
It is a record from the most recent point where 50 was crossed.
The extreme on the latest bar changes, so do not treat the steps alone as a fixed record.
| Included file | Purpose / location |
|---|---|
| TRI_RSI_Side_Extremes.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 2 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.
InpRSIPeriodInpPriceWhile it stays on the same side, it does not revert past the previous closed bar's extreme, but any extension made only on the latest bar can revert. When it reaches or crosses 50, that side returns to 50.
After 100 is recorded on the upper side, green stays at 100 even as RSI falls, until RSI is 50 or below. 0 on the lower side also remains until RSI is 50 or above. Because display rounding may make a value look like 100, 100 alone does not establish that the average fall is exactly 0.
When the average rise and fall decay while their ratio is maintained, RSI can stay at values other than 50. A stop does not mean it is always 50.
RSI depends on the loading start position. Values near the start can differ significantly, and that difference can remain as a section extreme. The steps after the history changes are not always the same.
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.
Counting the oldest bar as bar 1, the 3 lines are drawn from bar RSI Period + 1. Check that there are enough bars.
This is normal during a section on the opposite side. If the RSI is exactly 50, both steps are 50.
The header may show 0 before the valid values. Distinguish it from an actual RSI of 0 and check the required history.
Check RSI period 2 to 500 and the calculation price selection, and refer to the English diagnostics in the Experts tab.
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.
The rises and declines of the first period are each averaged; after that, previous value × (n−1) plus the current amount is divided by n. If the average of declines is 0 and there are rises, it is 100; if both are 0, it is 50; if rises are 0 and there are declines, it is 0.
Upper side = 50 if RSI ≤ 50, otherwise max(upper side of the previous bar, RSI). Lower side = 50 if RSI ≥ 50, otherwise min(lower side of the previous bar, RSI). The initial value is 50.
The name shows the RSI period and calculation price. The header values are in the order RSI, upper side, lower side. The vertical axis is fixed at 0 to 100, and there are no arrows, notifications or color switching functions.