MT5 indicators← RSI Streak Marks 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 Streak Marks

Combines the position of the previous bar's close relative to a moving average, consecutive RSI changes, and an optional Hull slope, and puts a mark on the bar after the conditions are met. The arrow direction is not the same as the direction of the RSI change.

Indicator name: RSI Streak MarksMetaTrader 5Main chart

Records the conditions up to the previous bar on the next bar

Check the position of the close relative to Trend MACheck the RSI changing 2 times in a row from 3 bars backOptional Hull slope condition → arrow on the next barWhether an arrow exists and changes in its vertical position are separate matters
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Gray and orangeTrend MA and Hull MA. Hull can be turned off with 0.

2

Green up arrowConditions such as a close above the average and RSI falling in a row.

3

Red down arrowConditions such as a close below the average and RSI rising in a row.

The RSI line is not drawnConditions use 3 bars back to 1 bar backNo alerts or sounds
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
Trend period
InpTrendPeriod
200 → 100
Trend method
InpTrendMethod
Simple (SMA) → Exponential (EMA)
Hull period
InpHullPeriod
200 → 0

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 settingsInpTrendPeriod = 200 / InpTrendMethod = Simple (SMA) / InpHullPeriod = 200
RSI Streak Marks default settings
The gray SMA 200, the orange Hull 200 and red arrows on bars where the conditions are met are visible.
View the screen in detail at full size
RSI Streak Marks default settings (actual size)
Settings change exampleInpTrendPeriod = 100 / InpTrendMethod = Exponential (EMA) / InpHullPeriod = 0
RSI Streak Marks settings change example
Trend changed to EMA 100 and Hull to 0. The display has the Hull line and slope condition removed.
View the screen in detail at full size
RSI Streak Marks settings change example (actual size)

Example shown: 1-minute chart (M1). This is an example for explaining the display. The settings change example is not a recommended value. Details can be checked in the full-size view. Please also check the price scale of the main chart and the positions of the candlesticks.

2

How to read it in 30 seconds

Separate the conditions from the direction

Up marks are conditions that include falling RSI; down marks are conditions that include rising RSI.

Check up to the previous bar

Read the close, average and RSI before the marked bar, not on the marked bar.

The position can move

The vertical position of a mark follows the high or low of that bar.

3

What it measures

The conditions are built from the position relative to the average line and the sequence of RSI over the past 3 bars, not from the level of a single value.

Green mark

The close 1 bar back is above Trend MA. RSI 3 bars back must be below Fall Start Below, and RSI must then fall for 2 bars in a row.

Red mark

The close 1 bar back is below Trend MA. RSI 3 bars back must be above Rise Start Above, and RSI must then rise for 2 bars in a row.

Hull condition

If enabled, the Hull change 1 bar back must also be at least the specified points for green, and at most its negative value for red.

Price used

Trend, Hull and RSI use Applied Price, but the value compared with Trend is always the close 1 bar back.

4

Situations for reading the display

Up arrow while RSI is falling

Indicator
That is part of the green mark's condition.
Cross-check
Combine the previous close and average with the 3 RSI values.
Check
Read the conditions that were met, not just the direction.
Caution
It is not a mark that asserts the next price direction.

Turning off Hull

Indicator
With Hull MA Period=0, both the line and the slope condition are removed.
Cross-check
Compare without changing other inputs.
Check
Check the increase or decrease in marks as a difference in conditions.
Caution
The number of marks in the example shown is not necessarily the same in other periods.
5

Steps for checking the display

1

Tell the lines apart

Check the gray Trend and the orange Hull.

2

Read before the mark

Check the position of the close relative to the average and the RSI from 3 bars back. RSI can be read in the Data Window.

3

Check the Hull condition

When enabled, the slope is used; when disabled, only the other conditions decide.

6

Installation and checking the package contents

Included filePurpose / location
TRI_RSI_Streak_Marks.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'.

This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.

7

Settings

There are 9 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.

Trend period

Name shown on screen
Trend MA Period
Input name
InpTrendPeriod
Default
200
Allowed range
1–1000 bars
Description
Number of bars P averaged for Trend MA.

Trend method

Name shown on screen
Trend MA Method
Input name
InpTrendMethod
Default
Simple (SMA)
Allowed range
SMA / EMA / SMMA / LWMA
Description
Selects the averaging method.

Hull period

Name shown on screen
Hull MA Period (0 = off)
Input name
InpHullPeriod
Default
200
Allowed range
0, or 2–1000 bars
Description
0 does not use the Hull line or slope condition. 1 is not allowed.

Minimum Hull change

Name shown on screen
Hull Slope Minimum (points)
Input name
InpHullSlope
Default
1
Allowed range
0〜100000 points
Description
Difference of Hull between 1 bar back and 2 bars back. 0 allows 0 or more for green and 0 or less for red.

RSI period

Name shown on screen
RSI Period
Input name
InpRSIPeriod
Default
2
Allowed range
2–100 bars
Description
RSI period n used to check consecutive changes.

Price used for calculation

Name shown on screen
Applied Price
Input name
InpPrice
Default
Close
Allowed range
7 applied prices
Description
Shared by Trend, Hull and RSI. Only the value compared with Trend is always the close.

Fall start level

Name shown on screen
Fall Start Below (RSI)
Input name
InpUpStartBelow
Default
65
Allowed range
0〜100
Description
A green mark requires RSI 3 bars back to be lower than this value.

Rise start level

Name shown on screen
Rise Start Above (RSI)
Input name
InpDownStartAbove
Default
35
Allowed range
0〜100
Description
A red mark requires RSI 3 bars back to be higher than this value.

Mark spacing

Name shown on screen
Arrow Gap (pixels)
Input name
InpArrowGap
Default
8
Allowed range
0〜100 pixels
Description
Number of pixels on screen by which marks are placed away from the low or high.
8

Usage specifications

Judgment and vertical position

In the calculation, whether a mark appears is determined by data before that bar. With the same past data, price movement on the current bar is not used for the judgment, but the vertical position of the mark follows the current high and low.

Changes in history

Calculation results may change when history is added or corrected or settings change. Permanent non-repainting is not guaranteed.

Initial blank

By default, Trend starts from the 200th bar, Hull from the 213th bar and marks from the 215th bar onward. With only 200 bars of history, Hull and the marks do not appear.

Consecutive marks and notifications

If the conditions continue, marks may be placed on adjacent bars. They are not limited to the first 1 occurrence. There is no notification function.

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

This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.

9

Troubleshooting and usage notes

Few marks / no marks

All conditions are required. Check the number of history bars, the Hull condition and the RSI sequence.

RSI is not on the chart

RSI is not drawn as a line; its values are shown in the RSI field of the Data Window.

It does not start after changing inputs

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.

10

Technical information and specification details

Time of evaluation

With the marked bar as i, the close and Trend are at i−1. The starting RSI value is at i−3, and the consecutive changes are i−3→i−2→i−1. The Hull difference is between i−1 and i−2. Bar i's low and high are used only for the mark position.

Hull formula

h=floor(Hull Period/2), r=floor(√Hull Period). Hull=LWMA_r(2×LWMA_h(price)−LWMA_HullPeriod(price)).

Relation to the standard

RSI and Trend are calculated with the same formulas as the MT5 standard. Values have been cross-checked under specified conditions, such as RSI on the close at 2, the typical price at 3 and the open at 2. This does not mean the whole, including Hull and the marks, is identical to standard indicators.