MT5 indicators← Cascade Smoothed RSI 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

Cascade Smoothed RSI

Passes the change in the chosen price and its size through the same three-stage smoothing and shows the ratio as a line from 0 to 100. It is not a normal RSI smoothed afterward.

Indicator name: Cascade Smoothed RSIMetaTrader 5Separate window

Smooth the change and its size separately

Smooth the change and its size separatelySeparate the price change and its absolute valueApply the same three-stage smoothing to bothRatio to 0 to 100 / watch motionless sections
Schematic diagram of how to read it. This is not an actual terminal screen.
1

The blue line is the calculated valueThe vertical axis is 0 to 100. Silver 30, 50 and 70 are levels for reading the position.

2

Length is not a normal RSI periodEven with Length 14, the response differs from RSI 14.

3

The line moves even when flatThe smoothing state changes even while the price is stopped. Do not reinterpret 0, 50 or 100 as the strength of price movement.

Default: 14, CloseFixed 0 to 100No marks or notifications
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
Smoothing length
InpLength
14 → 30
Price used in the calculation
InpPrice
Close → Typical

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 settingsInpLength = 14 / InpPrice = Close
Cascade Smoothed RSI default settings
Length 14, close. Shows a thick blue line and silver levels at 30, 50 and 70.
View the screen in detail at full size
Cascade Smoothed RSI default settings (actual size)
Settings change exampleInpLength = 30 / InpPrice = Typical
Cascade Smoothed RSI settings change example
Changed to Length 30 and Typical. This example changes both the period and the price, so it does not show the effect of the period alone.
View the screen in detail at full size
Cascade Smoothed RSI settings change example (actual 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

What it measures

A smoothed ratio of the bar-to-bar change and the absolute change.

Initial preparation

By default, the first 13 bars are not shown. Price stops at the beginning of history extend the preparation.

0, 50, 100

These also appear through clipping at the upper and lower limits and through the denominator rule.

3

What it measures

Even with a smooth line, the values while the price is stopped have their own behavior.

Three-stage calculation

Passes the change and the absolute change each through the same three stages. When the size side is greater than 1e-10, the ratio is mapped to 0 to 100 and clipped to that range.

When the size side is small

If the size side is 1e-10 or less (including negative values), the value is 50. It does not become 50 immediately just because the price does not move.

Restarting preparation

Only before the first value appears, the count restarts if there is no valid price change during preparation. If the price stops after the first value, it does not go back to preparation.

Difference from a normal RSI

It does not give the same values as an RSI of the same length. Its calculation also differs from the smoothed RSI line of RSI Trailing Level.

4

Situations for reading the display

No line at first

Indicator
Drawing has not started yet
Cross-check
Number of history bars and the selected price
Check
Wait for preparation to complete
Caution
Even when the price starts moving, it is not necessarily displayed immediately.

The line moves while the price is stopped

Indicator
It moves to 0, 50, 100 or in between
Cross-check
A stop in the selected price
Check
Read it as a change in the smoothing state
Caution
Values during and right after a stopped section are not the strength or direction of price.

The line overlaps the frame

Indicator
0 or 100
Cross-check
Clipping of values
Check
Check the edge of the vertical axis
Caution
The line has not necessarily disappeared.

Differences after reloading

Indicator
The start of history changes
Cross-check
Number of bars loaded
Check
Compare with the same history and inputs
Caution
With a longer Length, differences can persist longer.
5

Steps for checking the display

1

View with the defaults first

Check the line and the 3 levels with Length 14 and Close.

2

Distinguish sections where the price is stopped

Check whether the price chosen in Applied Price is changing. The same rule also applies when only the high is constant.

3

Check the setting differences

The change example changes 2 items: Length and Applied Price.

4

Comparing with the past

Do not compare screens with different history or inputs as if they had the same conditions.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Cascade_Smoothed_RSI.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 2 inputs. Change them on the Inputs tab of the properties window. The English display names are shown together with the input names in the code.

Smoothing length

Name shown on screen
Length
Input name
InpLength
Default
14
Allowed range
2〜1000
Description
Three-stage smoothing using the coefficient 3/(Length+2). The number of preparation bars is max(Length−1,5).

Price used in the calculation

Name shown on screen
Applied Price
Input name
InpPrice
Default
Close
Allowed range
Close / Open / High / Low / Median / Typical / Weighted
Description
Close=close, Open=open, High=high, Low=low, Median=(high+low)/2, Typical=(high+low+close)/3, Weighted=(high+low+close×2)/4.
8

Usage specifications

Sections where the price stopped

After sticking to 100 or 0 because of smoothing overshoot, it may move to 50 or move again to 0, 100 or an intermediate value. With a long Length it may stay at an intermediate value. Do not read values during the stop and for a few bars right after it as the direction or strength of price movement.

Distinguish preparation from after display starts

Preparation is redone only before the display starts. After the display starts, value calculation and drawing continue even if the price stops.

The 0 in the header and whether a line exists

Even if 0.00 appears in the separate window header, there may be no value because the required history is insufficient. To distinguish this from a valid value of 0, also check whether the line exists and the bar at which drawing starts.

Start of the history

Because it uses a state carried over from the past, values may differ if the start of the history changes. The difference is not necessarily small, and the number of bars until they match is not guaranteed either.

No notifications

It draws only lines and levels. There are no crossing marks or notification functions.

Forming bar and recalculation

The value of the latest bar changes while it is forming. Past values may also be recalculated when history is added or corrected, so this is not a guarantee of no repainting.

Input checks

Inputs for unused lines and methods are also checked against the allowed range. Simply turning off the display does not cause invalid periods or similar values to be ignored.

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 number of history bars and the inputs for the lines to show. With out-of-range inputs it does not start, and 1 line giving the reason in English appears in the Experts tab.

Details cannot be read

Open the actual-size view of the real screen and check the line colors and the vertical axis.

The value changed

The latest bar is forming. If past prices or the start of history change, values after recalculation can also change.

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

Preparation count

w=max(Length−1,5). It starts with count 1 and change flag 0. If there is a price change during preparation, the flag is set, and at count w, if the flag is 0, the count returns to 0. The next bar does not calculate a price change and goes to count 1. Values are output from the bar where the count exceeds w. If preparation is not extended, output starts at the 14th bar by default.

Smoothing and output

At each stage, a=(1−k)×previous a+k×input, b=k×new a+(1−k)×previous b, output=1.5a−0.5b, k=3/(Length+2). From the change side U and the size side D after three stages, if D>1e-10, 50×(U/D+1) is clipped to 0 to 100; otherwise the value is 50.

Updates and display

The latest bar is recalculated. If you choose Open, that bar's open does not change, so normal within-bar updates do not change the value either. The vertical axis is fixed at 0 to 100, with 2 decimal places.