Look at orange first
Read the RSI value itself and its changes.
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.
OrangeRSI of the selected price.
BlueAverages RSI with the specified method and period.
GrayThe center of the band is a simple average with a separate period. It is not necessarily the blue line.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
Read the RSI value itself and its changes.
See the position relative to the RSI average.
It shows the recent dispersion of RSI and is not a range of future values.
A display that overlays a moving average and a distribution band on the RSI series, not on price.
Calculated from the smoothed ratio of gains and losses. The value is 0–100.
Averages RSI with SMA, EMA, SMMA or LWMA.
Draws upper and lower lines at population standard deviation × Bands Width around the simple average of the last Bands Period bars of RSI.
Changing MA Method or MA Period does not change the calculation of the gray band if the RSI input is the same.
Check the roles of orange, blue and gray.
Change 1 group of settings at a time, in the order RSI, MA, Bands.
Because the scale is automatic, do not compare values only by height in the image.
| Included file | Purpose / location |
|---|---|
| TRI_RSI_Bands.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'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
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.
InpRSIPeriodInpPriceInpMAPeriodInpMAMethodInpBandsPeriodInpBandsWidthThe 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.
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.
30 and 70 are fixed reference lines. Touching or crossing them does not determine future price movement.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.
Each needs additional history. Even when RSI appears, the average and band do not necessarily appear at the same time.
The center is the simple average over Bands Period. It is independent of MA Method and MA Period.
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.
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.
μ=SMA_p(RSI), σ=√(Σ(RSI−μ)²/p). Center μ, upper and lower μ±Width×σ. These are not Bollinger Bands on price.
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.