MT5 indicators← Range Level Band 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

Range Level Band

Within a set number of recent bars, it takes the highest high and the lowest low as the upper and lower lines, adds 3 lines that divide the space between them into 4 equal parts, and overlays them on the price chart as 5 levels.

Indicator name: Range Level BandMetaTrader 5Price chart

Recent high and low → divide into 4 equal parts → 5 levels

Price (synthetic data, 120 bars) with the upper limit, center and lower limitGray: priceRed: upper limitDashed line: centerBlue: lower limit
Schematic of calculated values (synthetic data). This is not an actual terminal screen.
1

Upper and lower limitsThe highest high and the lowest low within the recent number of bars.

2

Center dashed lineExactly halfway between the upper and lower limits.

3

1/4 dotted linesPositions 1/4 of the width inside the upper limit and the lower limit respectively.

Overlaid on the price chart5 levelsSame units as the priceNot a trading signal
1

MT5 display and examples of changed settings

Only the price chart and this product are shown. Compare the default settings and the example of changed settings with the same symbol, timeframe and display range.

Settings change example: these items are changed
Bars for measuring the range (InpPeriod)96 → 20

No other settings were changed. The left is the default settings and the right is the changed example. At phone width, they are stacked from the top in the same order.

Default settingsBars for measuring the range (InpPeriod): 96
Range Level Band: MT5 screen with default settings
Default settings (96, 0) — The 5 levels overlaid on the price chart. The upper and lower limits move in steps.
View the screen in detail at full size
Range Level Band: MT5 screen with default settings (actual size)
Settings change exampleBars for measuring the range (InpPeriod): 20
Range Level Band: MT5 screen with a settings change example
With the bars for measuring the range changed to 20 — The same situation, with only the number of bars changed to 20. The levels come closer to the price and move often.
View the screen in detail at full size
Range Level Band: MT5 screen with a settings change example (actual size)

Example shown: synthetic data, 1-minute timeframe (M1). This is not the price movement of an actual symbol. The changed settings are an example to show the difference, not recommended values. You can enlarge it from "View the screen at full size".

2

How to read it in 30 seconds

Upper and lower limitsThe highest high and the lowest low within the recent number of bars.
Center dashed lineExactly halfway between the upper and lower limits.
1/4 dotted linesPositions 1/4 of the width inside the upper limit and the lower limit respectively.
Why it moves in stepsThe levels move only when the maximum or minimum changes. On bars where they do not move, the levels stay horizontal.
3

What it measures

Divides the recent high-low range into 4 equal parts to make 5 levels

For the range going back the specified number of bars from the current bar, it finds the maximum of the highs and the minimum of the lows. These 2 are the upper and lower limits. The difference between the upper and lower limits is the width; 1 line is drawn 1/4 of the width inside each of the upper and lower limits, and 1 line exactly in the middle. That makes 5 levels in total. If a number of bars to shift the reference is specified, the range ending at the bar that many bars earlier is used instead of the current bar.

Upper limit = maximum of the highs of the last N bars. Lower limit = minimum of the lows of the last N bars. Width = upper limit − lower limit. Upper 1/4 = upper limit − width÷4. Center = lower limit + width÷2. Lower 1/4 = lower limit + width÷4.

Upper and lower limits

The highest high and the lowest low within the recent number of bars.

Center dashed line

Exactly halfway between the upper and lower limits.

1/4 dotted lines

Positions 1/4 of the width inside the upper limit and the lower limit respectively.

This value alone cannot determine the future direction or the success of a trade. Read it together with the price chart.
4

When to use it in decisions

Read in the order "indicator → confirm with price → consider → conditions that do not apply". This is not a trading instruction; it is a way to organize the material for your decisions.

Scene 1

The price approached the upper limit

Indicator
The price is in the high zone within the recent number of bars.
Price
Confirm whether the price actually made a new high.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use an approach to the upper limit alone as a reason to sell. The price can also break through it.
Scene 2

The price approached the lower limit

Indicator
The price is in the low zone within the recent number of bars.
Price
Confirm whether the price actually made a new low.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use an approach to the lower limit alone as a reason to buy.
Scene 3

The upper or lower limit moved in a step

Indicator
The maximum or minimum has changed.
Price
Check whether only 1 bar made the new high or low.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use the movement of a level itself as a signal. It only means that a past high or low has been replaced.
Scene 4

The price crossed the center dashed line

Indicator
The price moved between the upper half and the lower half of the recent range.
Price
Check whether the price momentum continues.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not decide the direction just from whether the price is above or below the center line.
5

Actual decision steps

1

Choose the symbol and timeframe

Choose the symbol and timeframe, and confirm that at least the required number of bars of history are displayed.

2

Read the position relative to the reference

Read which of the bands formed by the 5 lines the price is in.

3

Cross-check against the price evidence

Check whether the upper or lower limit has moved recently.

4

Decide how to treat the current bar

On the current bar, the levels can move. Decide in advance whether to read on closed bars or to wait for the bar to close.

What to decide before entering

This product does not place or close orders. If you trade, decide your reasons, acceptable loss and exit conditions separately, and do not leave them to the indicator alone.

What to check while holding a position

Give priority to your plan made in advance and to the price movement. Do not postpone a stop-loss or exit just because the indicator moves up or down.

6

Installation and checking the package contents

Included fileLocation and purpose
TRI_Range_Level_Band.ex5The indicator itself for MetaTrader 5. Place it in MQL5/Indicators.
TRI_Range_Level_Band_Manual.htmlThe manual for this product. Open it in a browser.

Extract the ZIP first. MT5 only. This product does not require placing a license file or account authentication. Use the files without renaming them.

1

Open the data folder

In MT5, select "File → Open Data Folder".

2

Place the indicator file

Place the included TRI_Range_Level_Band.ex5 in MQL5/Indicators.

3

Place it on a chart

Refresh the Navigator or restart MT5, and apply this product to a chart of the symbol and timeframe you want.

4

Check the settings and display

Check with the default settings first. To change them, open this product's properties from the Indicators List. For the required number of history bars and where it is displayed, see Chapters 7 and 8.

To remove it, select this product in the chart's Indicators List and delete it.

7

Settings

There are 2 calculation inputs. Open the properties from the Indicators List and change them there.

Bars for measuring the range

Input name
InpPeriod
Default
96
Allowed range
An integer from 2 to 10000. Out of range, the indicator cannot be applied.
Description
Specifies over how many bars the maximum of the highs and the minimum of the lows are taken. A larger value gives levels over a wider range that move less easily.

Bars to shift the reference

Input name
InpShift
Default
0
Allowed range
An integer from 0 to 10000. Out of range, the indicator cannot be applied.
Description
With 0, it looks up to the current bar. With 1 or more, it uses the range ending at the bar that many bars earlier.

Line color and width

Default
Upper limit = red, upper 1/4 = orange dotted line, center = gray dashed line, lower 1/4 = orange dotted line, lower limit = blue. Shown overlaid on the price chart.
Where to change
You can adjust it on the Colors tab of the properties.
How to read
Read which of the bands formed by the 5 lines the price is in, and whether the levels have moved.
8

Usage specifications

Where the display starts

Display starts from the bar after “reference shift count + range measurement count − 1” bars have passed. With the defaults, the first displayed bar is the 96th bar counted from the oldest bar.

Order of levels

The order upper limit ≧ upper 1/4 ≧ middle ≧ lower 1/4 ≧ lower limit is never broken.

Conditions under which the levels move

They move only when the bars in the range change and the maximum or minimum changes. On other bars they stay flat.

Unit

Same unit as the price. All 5 lines are placed on the vertical axis of the price chart.

Handling of the current bar

When the reference shift count is 0, the levels may move as the current bar's high and low are updated. They are fixed when the bar closes.

Additions and corrections to history

If the data provider adds or corrects past bars, recalculation runs from that range.

When removing

Select this product in the Indicators List and delete it. This product has no recovery procedure using a license file.

9

Troubleshooting and usage notes

The levels are far from the price

When the number of bars for measuring the range is large, old highs and lows remain. A smaller number brings the levels closer to the price.

The 5 lines look like they overlap

This happens when the width of the range is narrow. A larger number of bars gives more width.

The line is not displayed

The number of bars displayed may be insufficient. Make the number of bars smaller, or load the history and then check.

The display does not change after changing the settings

If a value is outside the allowed range (bars 2–10000, shift 0–10000), this product is not applied.

The levels never move

The maximum and minimum within the range have not changed. This is not an error.

Notes on use

  • The indicator is information calculated from past and current prices. It does not guarantee profit, the future direction or the success of a trade.
  • It does not place orders, close positions, send alerts or send email.
  • Changing the settings, symbol or timeframe also changes the values. Distinguish changes in the current bar from recalculation caused by added or corrected history.
10

Technical information and specification details

Calculation approach and display specifications

It directly scans the calculation window of the specified number of bars to find the maximum of the highs and the minimum of the lows, and adds 3 lines at the positions dividing their difference into 4 equal parts, drawing 5 levels in total. The end point of the calculation window can be moved into the past by the number of bars to shift the reference. It uses 5 buffers for drawing. It does not use other indicators, external libraries, communication or order functions.

ItemContent
Version1.00
PlatformMetaTrader 5
Display5 levels on the price chart (red, orange dotted, gray dashed, orange dotted, blue)
UnitSame units as the price
Copyright noticeTrilogy Inc.
Status of the general reading

The situations and steps on this page are examples of linking calculated values to observation of the price. They do not guarantee the future direction, full compatibility, non-repainting or a light calculation load.