MT5 indicators← RSI Squeeze Release 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 Squeeze Release

Shows in one window the RSI line calculated from the close and dots on closed bars that met the conditions for band squeeze and release. Read the line color, the dot position and the dot conditions separately.

Indicator name: RSI Squeeze ReleaseMetaTrader 5Separate window

The line is RSI; the dots are a record of conditions

Line: changes even while forming. Dots: closed bars only50The dot height is for placement. It is not the RSI value.The upper dots read the condition of the "lower band".
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Read the RSI lineThe value is 0 to 100. The color is determined by the set upper and lower levels and by the previous color.

2

Separate the gold, light blue and magenta dotsGold is a squeeze. Light blue and magenta are records based on RSI 50 and the band conditions.

3

Separate the right edge from closed barsOn the forming bar, the line changes. A dot is placed based on the conditions after that bar closes.

Line color and dot conditions are separateDot height is the placement positionNotifications 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
RSI period
InpRSIPeriod
21 → 14
Placement height of the upper dots
InpUpperDotHeight
60 → 70
Placement height of the lower dots
InpLowerDotHeight
40 → 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 settingsInpRSIPeriod = 21 / InpUpperDotHeight = 60 / InpLowerDotHeight = 40
RSI Squeeze Release default settings
Default: RSI Period 21, point heights 60/40. Level lines are also visible overlapping the points. Read the line values and the point heights separately.
View the screen in detail at full size
RSI Squeeze Release default settings (full size)
Example of changed settingsInpRSIPeriod = 14 / InpUpperDotHeight = 70 / InpLowerDotHeight = 30
RSI Squeeze Release example of changed settings
Changed example: RSI Period 14, dot heights 70/30. Changing the heights changes only the placement; it does not change the RSI 50 used to decide the dots.
View the screen in detail at full size
RSI Squeeze Release 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

Line

An RSI built from smoothed averages of the close's upward and downward changes. The latest value and color change while the bar is forming.

Squeeze dots

A gold dot is placed when both the upper and lower bands fit inside the channel from 1 bar earlier.

Release dots

Dots that start from the preceding squeeze and the RSI and band conditions. Because there are also continuation conditions, they are not placed only right after a squeeze.

3

What it measures

RSI is a line of values; the dots are a record of conditions comparing the price bands with the channel. It does not draw price targets.

RSI value

Splits close-to-close changes into upward and downward ranges and converts the ratio of their averages, smoothed over the period, to 0 to 100. If the average down is 0, the value is 100; if the up is also 0, it is 50. This manual explains this product's calculation and does not assume complete equality with the MT5 standard indicator.

Gold dot: squeeze

Compares the band of close average ± deviation multiplier × standard deviation with the channel of EMA ± coefficient × simple average of the true range from 1 bar earlier. If both upper and lower are strictly inside, it is a squeeze. Equal values are not included. Not only the width but also a shift of the center matters.

Light blue dot: start

Starts when there was a squeeze within the previous 2 bars, RSI is above 50, and the lower band is below the lower line of the channel from 1 bar earlier. It is not a dot that shows the upper band moving out upward.

Magenta dot: start

Starts when there was a squeeze within the previous 2 bars, RSI is below 50, and the upper band is above the upper line of the channel from 1 bar earlier. When RSI is exactly 50, neither release condition is met.

Conditions for dots to continue

After a light blue dot, the dots continue if the lower band falls further and RSI is above 50. For magenta, they continue if the upper band rises further and RSI is below 50. However, while there was a squeeze within the previous 2 bars, they continue if the start condition holds, even if the band does not move further.

Notes on continuation and switching

Continuation dots can also be placed on bars far from the squeeze or after the band has returned inside the channel. If the start condition of the opposite side holds, the dots switch to the opposite side partway through.

4

Situations for reading the display

Dot above, moving band below

Indicator
Light blue dot
Cross-check
Separate whether RSI is above 50 and the relationship between the lower band and the lower channel from 1 bar earlier.
Check
Check the applicable condition in this manual's explanation, not by the dot height.
Caution
Do not reinterpret it as the upper band sticking out above.

The dot side and the line color differ

Indicator
When the upper and lower color levels are changed
Cross-check
The line color levels are independent of the 50 used by the dots.
Check
Check Line Color Up/Down Level.
Caution
The heights 70/30 are not line color levels either.

No dot on the latest bar

Indicator
RSI line while forming
Cross-check
The line draws the latest value, but dots are placed only on closed bars.
Check
Check the dot after the bar closes.
Caution
Even if the condition is met partway, no dot is placed if it is no longer met when the bar closes.
5

Steps for checking the display

1

Separate the default line and dots

Look at the RSI line, the gold dots, then the light blue and magenta dots, in that order. The vertical axis is 0 to 100.

2

Check the role of each setting

Check the settings table so as not to confuse the period, the band and channel widths, the line color levels and the dot placement positions.

3

Separate forming and closed bars

Read the changes in the line at the right edge and the dots on the closed bars to its left separately.

4

Set notifications if needed

Setting Alert on Release Start to true notifies you of newly starting dots. The default is false. It is not a setting that notifies you of past dots all at once.

6

Installation and checking the package contents

Included filePurpose / location
TRI_RSI_Squeeze_Release.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 11 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
21
Allowed range
Integer 2 to 1000
Description
The period for smoothing the close's upward and downward changes. The first value requires period + 1 bars.

Band period

English item name
Bands Period
Input name
InpBandsPeriod
Default
20
Allowed range
Integer 2 to 1000
Description
The period used for the average and standard deviation of the close.

Band deviation multiplier

English item name
Bands Deviation
Input name
InpBandsDeviation
Default
2
Allowed range
A finite value greater than 0 and up to 10
Description
The multiplier applied to the standard deviation. Even for small values, the calculation uses the input value.

Channel center period

English item name
Channel EMA Period
Input name
InpChannelEMAPeriod
Default
13
Allowed range
Integer 1 to 1000
Description
The period of the EMA of the close. The dot conditions use the channel from 1 bar earlier.

Channel range period

English item name
Channel ATR Period
Input name
InpChannelATRPeriod
Default
21
Allowed range
Integer 1 to 1000
Description
The number of bars for the simple average of the true range.

Channel width coefficient

English item name
Channel Factor
Input name
InpChannelFactor
Default
2
Allowed range
A finite value greater than 0 and up to 10
Description
Multiplied by the average true range to form the upper and lower width of the channel.

Level for returning the line to green

English item name
Line Color Up Level
Input name
InpLineUpLevel
Default
50
Allowed range
0 to 100, at least the lower level
Description
When RSI rises above this value, the line returns to green. At an equal value, the previous color is kept.

Level for changing the line to red

English item name
Line Color Down Level
Input name
InpLineDownLevel
Default
50
Allowed range
0 to 100, at most the upper level
Description
When RSI falls below this value, the line changes to red. The 50 used to decide the dots does not change.

Placement height of the upper dots

English item name
Upper Dot Height
Input name
InpUpperDotHeight
Default
60
Allowed range
0 to 100, a value greater than the lower dots
Description
The position where the light blue dots and their level line are placed. It is not an input that changes the dot conditions.

Placement height of the lower dots

English item name
Lower Dot Height
Input name
InpLowerDotHeight
Default
40
Allowed range
0 to 100, a value less than the upper dots
Description
The position where the magenta dots and their level line are placed. At 0/100 they overlap the frame, and at 50 they overlap the squeeze dots.

Notification of dot start

English item name
Alert on Release Start
Input name
InpAlertExpansion
Default
false
Allowed range
true / false
Description
When true, a popup notifies you of the start of new release dots. Continuing dots do not trigger a notification.
8

Usage specifications

The line color carries over the state

Below the lower level it is red, and above the upper level it is green. Between them and at equal values, the previous color is kept. Exactly 50 in the defaults also keeps the previous color. The first value is red if below the lower level, otherwise green.

When notifications occur

When a new light blue or magenta point starts on a closed bar, it sends 1 notification on the first price movement of the next bar. The calculation right after attaching does not notify past points. Even if several bars close at once, only the latest closed bar is evaluated.

Notification content

The notification text contains release began with RSI above 50, or below 50, followed by the symbol, the timeframe and the start date and time of that closed bar. The same content also remains in the Experts tab. The product does not call email or push. Sound depends on the terminal settings.

When more history is loaded

RSI and EMA carry over past states, so if the start of the history changes, values, colors and points on the older side may change.

Window name and values

The 6 numbers after the name are, in order, RSI period, band period, deviation multiplier, EMA period, range period and coefficient. The value that follows is only the RSI with 2 decimal places; point height values are not shown. The deviation multiplier and coefficient are rounded to 2 decimal places in the name, but the calculation uses the input values as entered.

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

The line or dots do not appear yet

The line requires RSI period + 1 bars. Dots have a separate number of warm-up bars and are not placed unless the conditions are met. Even while the line is still warming up, only squeeze dots may appear. See the technical information for the detailed numbers of bars.

The heading shows 0

0 can be displayed even on bars without a line. On the other hand, an RSI of 0 is also a valid value, so check whether the line is present and the required number of bars. Do not decide from a 0 in the heading alone that it is a calculated result.

Dots or the line overlap the frame or levels

RSI values of 0/100 overlap the frame. Setting the dot height to 0/100 or 50 makes the dots overlap the frame or the gold dots. A level line can also pass over the dots.

The color does not return

If the upper color level is 100, RSI cannot rise above 100 after turning red, so the line does not return to green. If the lower color level is 0, the line does not turn red. Check the settings and the comparisons, which do not include equal values.

Not calculated because a setting is out of range

Check the input ranges and the upper/lower relationships, and read the English diagnostic on the Experts tab. Even if several settings are out of range, 1 line of diagnostic appears for the first matching group.

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

Basis of the calculation

The band is the simple average of the close ± deviation multiplier × population standard deviation. The channel is the close EMA ± coefficient × simple average of the true range. The true range is the range that also covers the distance from the previous close to the high and low. The current band is compared with the channel from 1 bar earlier.

Minimum number of bars before display starts

Counting the first bar on the old side as bar 1, the line starts from bar RSI Period + 1. With f = max(Bands Period − 1, Channel ATR Period, Channel EMA Period), the conditions are judged for squeeze dots from bar f + 1 and for release dots from bar max(f + 2, RSI Period + 1). For a dot to be visible, the bar must close and the condition must also hold.

End values of RSI

If the average down is 0 and there is some up, the value is 100; if both are 0, it is 50. When RSI is exactly 50, release dots neither start nor continue.

Separate values from display positions

The dot heights and level lines are placement scales. A dot does not mean RSI reached that height. The line color settings are also independent of the dot decisions.