MT5 indicators← Range Extension Histogram 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 Extension Histogram

Measures the current bar's high from the past lowest low and the current bar's low from the past highest high, and shows the selected side as bars in Points.

Indicator name: Range Extension HistogramMetaTrader 5Separate window

3 points of the display

1Measured from the opposite past extreme2Read the sign and the size separately3Gray, light green, dark green
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Measured from the opposite past extremeThe upper side is current bar high − past lowest low, and the lower side is current bar low − past highest high. It is not the amount by which the previous high was broken.

2

Read the sign and the size separatelyBy default, the larger side is selected. The color is determined by the size of the absolute value, not by the sign.

3

Gray, light green, dark greenIf the absolute value is below threshold 1 it is gray, at or above threshold 1 it is light green, and at or above threshold 2 it is dark green.

Range and volatility comparisonMT5 onlyColors and levels are not trading instructions
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
Side to show / Show
InpShow
The larger side → Upward only
Medium start value / Medium from (points)
InpLevel1
750 → 30
Large range start value / Large from (points)
InpLevel2
1050 → 60

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 settingsInpShow = The larger side / InpLevel1 = 750 / InpLevel2 = 1050
Range Extension Histogram default settings
Default: period 14, larger side, color thresholds 750 and 1050 Point.
View the screen in detail at full size
Range Extension Histogram default settings (actual size)
Example of changed settingsInpShow = Upward only / InpLevel1 = 30 / InpLevel2 = 60
Range Extension Histogram example of changed settings
Change example: shows only the upper side and changes the thresholds to 30 and 60 Points.
View the screen in detail at full size
Range Extension Histogram example of changed settings (actual size)

Published example: M1. This is an example to explain the display. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the included version has display settings for the brand text and QR code. The example with changed settings is not a set of recommended values. Details can be checked in the full-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

Measured from the opposite past extreme

The upper side is current bar high − past lowest low, and the lower side is current bar low − past highest high. It is not the amount by which the previous high was broken.

Read the sign and the size separately

By default, the larger side is selected. The color is determined by the size of the absolute value, not by the sign.

Gray, light green, dark green

If the absolute value is below threshold 1 it is gray, at or above threshold 1 it is light green, and at or above threshold 2 it is dark green.

3

What it measures

Measures the current bar's high from the past lowest low and the current bar's low from the past highest high, and shows the selected side as bars in Points.

Number of bars in the calculation window

Period includes the current bar. The past high and low used for comparison are taken from the Period−1 bars excluding the current bar.

How the larger side is chosen

The upper side is shown only when it is positive and its absolute value is strictly greater than that of the lower side; otherwise the lower side is shown. Ties go to the lower side.

4

Situations for reading the display

Read the default display

Indicator
The upper side is current bar high − past lowest low, and the lower side is current bar low − past highest high. It is not the amount by which the previous high was broken.
Cross-check
Check the candle and vertical axis for the same bar.
Check
First check the method, periods and units.
Caution
It is not a signal that shows a trading direction or a future price.

Compare by changing the settings

Indicator
Change example: shows only the upper side and changes the thresholds to 30 and 60 Points.
Cross-check
Check the settings differences between the default screen and the change example.
Check
Use separate charts and compare on the same timeframe and history.
Caution
Changing the method can change even the units.

Investigate blank or equal-value bars

Indicator
In cases such as a gap down below the entire calculation window, the upper-side formula can also be negative. The sign is not assumed from the name alone.
Cross-check
Check the history start position and the periods needed for the calculation.
Check
Distinguish no value from the number 0.
Caution
Do not judge it a fault only because the screen is blank.
5

Steps for checking the display

1

Apply with the defaults

Load history on the same symbol and timeframe, and first check the default settings.

2

Read the units and colors

The upper side is current bar high − past lowest low, and the lower side is current bar low − past highest high. It is not the amount by which the previous high was broken.

3

Change 1 condition at a time

Refer to the published change example and confirm how the inputs correspond to the display. For change examples with multiple conditions, separating each condition lets you follow the differences.

4

Compare on closed bars

The value on the current bar changes. Compare numbers at the same past time.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Range_Extension_Histogram.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. When comparing different settings, using separate charts makes checking easier.

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 8 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.

Period

English item name
Period (bars including the current one)
Input name
InpPeriod
Default
14
Allowed range
Integer 2–1000
Description
Number of bars including the current bar. With the default 14, the past 13 bars are compared.

Side to show

English item name
Show
Input name
InpShow
Default
The larger side
Allowed range
The larger side/Upward only/Downward only
Description
Choose the larger side, the upper side only, or the lower side only.

Medium start value

English item name
Medium from (points)
Input name
InpLevel1
Default
750
Allowed range
0 or more and not above threshold 2 (finite value)
Description
In Points. Light green when the absolute value is at or above this value.

Large range start value

English item name
Large from (points)
Input name
InpLevel2
Default
1050
Allowed range
At or above threshold 1 (finite value)
Description
In Points. Dark green when the absolute value is at or above this value.

Show brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
true shows the brand text and QR. When several products from the same medium are used on the same chart, the display is shared.

Brand position

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Allowed range
Top left / Bottom left / Bottom right / Top right
Description
The default is the lower left. Move it if displays overlap.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer (pixels)
Description
Horizontal margin from the reference corner. Negative numbers are treated as 0.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer (pixels)
Description
Vertical margin from the reference corner. Negative numbers are treated as 0.
8

Usage specifications

Current bar

Values on the unclosed bar change as the price updates. Do not confuse them with closed bars.

Differences between history and data feeds

Values change with the symbol, timeframe, data provider and loaded history range. Compare under the same conditions.

Brand display

The packaged version has a function that shows Produced by Trilogy Inc. and a QR code linking to https://www.trgy.co.jp/. The position and other details can be changed in additional settings. There is no account authentication.

For on-screen display only

The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.

9

Troubleshooting and usage notes

Negative even on the upper side

In cases such as a gap down below the entire calculation window, the upper-side formula can also be negative. The sign is not assumed from the name alone.

The colors are almost all the same

The thresholds may be too large or too small for the symbol's digits and Point conversion.

The display is crowded

Use separate charts, or change the brand position and margins. Increase the height of the separate window, and also refer to the actual-size images.

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

Base price

The lowest low and the highest high of the past window are searched separately. The current bar's high and low are not included in the reference window.

Boundaries of the 3 colors

If both thresholds are equal, there is no middle-color range. The color is a classification of the range, not a trading direction.