MT5 indicators← Volatility Range Position 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

Volatility Range Position

Shows on a scale of 0–100 where the selected volatility measure lies between the lowest and highest values of its recent range. You can choose a line colored below a level, or bars in 3 zones.

Indicator name: Volatility Range PositionMetaTrader 5Separate window

3 points of the display

10–100 is the relative position of the volatility measure2In line mode, values below the level are shown in red3Bars are divided into 3 zones
Schematic diagram of how to read it. This is not an actual terminal screen.
1

0–100 is the relative position of the volatility measure0 is the lowest in the calculation window and 100 is the highest. It is not the price position, the direction of price movement, a probability of occurrence, or a percentile rank.

2

In line mode, values below the level are shown in redThe parts strictly below Level are overlaid in red on the blue line. The default Level is 25, and equal values do not turn red.

3

Bars are divided into 3 zonesBy default, 20 or below is green, above 20 and up to 40 is gold, and above 40 is red-orange. The bar height is the relative position, not a fixed height.

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
Source / Source
InpSource
Average true range → Bollinger band width (points)
Source period / Source Period
InpPeriod
14 → 20
Display mode / Display
InpDisplay
Line and below level → Histogram in three zones

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 settingsInpSource = Average true range / InpPeriod = 14 / InpDisplay = Line and below level
Volatility Range Position default settings
Default: ATR14, Window100, Line. Parts below 25 are overlaid in red on the blue relative position.
View the screen in detail at full size
Volatility Range Position default settings (actual size)
Example of changed settingsInpSource = Bollinger band width (points) / InpPeriod = 20 / InpDisplay = Histogram in three zones
Volatility Range Position example of changed settings
Change example: BB width 20, Window 100, bars in 3 zones. The deviation multiplier 2 and the boundaries 20 and 40 are left at their defaults.
View the screen in detail at full size
Volatility Range Position 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

0–100 is the relative position of the volatility measure

0 is the lowest in the calculation window and 100 is the highest. It is not the price position, the direction of price movement, a probability of occurrence, or a percentile rank.

In line mode, values below the level are shown in red

The parts strictly below Level are overlaid in red on the blue line. The default Level is 25, and equal values do not turn red.

Bars are divided into 3 zones

By default, 20 or below is green, above 20 and up to 40 is gold, and above 40 is red-orange. The bar height is the relative position, not a fixed height.

3

What it measures

Shows on a scale of 0–100 where the selected volatility measure lies between the lowest and highest values of its recent range. You can choose a line colored below a level, or bars in 3 zones.

4 sources

Choose from ATR, Bollinger Band width, channel width per 1 bar, or Aggressiveness per 1 bar. What is compared is the past values of the chosen source itself.

Source Period and Window

Source Period is the period for calculating the volatility measure, and Window is the number of those values searched for the lowest and highest. The current bar's value is also included in Window.

4

Situations for reading the display

Read the default display

Indicator
0 is the lowest in the calculation window and 100 is the highest. It is not the price position, the direction of price movement, a probability of occurrence, or a percentile rank.
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: BB width 20, Window 100, bars in 3 zones. The deviation multiplier 2 and the boundaries 20 and 40 are left at their defaults.
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
Nothing is shown until Window source values are available. Also, when the maximum and minimum in the calculation window are equal, no value is output because the division cannot be done. It is not replaced with 0.
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

0 is the lowest in the calculation window and 100 is the highest. It is not the price position, the direction of price movement, a probability of occurrence, or a percentile rank.

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

Source

English item name
Source
Input name
InpSource
Default
Average true range
Allowed range
Average true range/Bollinger band width (points)/Channel width per bar (points)/Aggressiveness per bar (points)
Description
ATR is the simple average of the true range. BB width is the width between the upper and lower bands derived from the population standard deviation of the close. Channel divides the difference between the highest high and the lowest low by the period. Aggressiveness is the average of signed close changes that use the bar direction.

Source period

English item name
Source Period
Input name
InpPeriod
Default
14
Allowed range
Integer 1–1000
Description
The period for calculating the average or width of the source.

BB deviation multiplier

English item name
Bollinger Deviation
Input name
InpDeviation
Default
2
Allowed range
Greater than 0 and up to 10 (finite value)
Description
Multiplier used for BB width. Even when another method is chosen, specify it within the valid range.

Relative position window

English item name
Window (values)
Input name
InpWindow
Default
100
Allowed range
Integer 2–5000
Description
This number of valid source values is used. It is not the number of the original price bars itself.

Display method

English item name
Display
Input name
InpDisplay
Default
Line and below level
Allowed range
Line and below level/Histogram in three zones
Description
Choose a line with an overlay line below the level, or bars in 3 zones.

Line level

English item name
Level
Input name
InpLevel
Default
25
Allowed range
0 to 100 (finite value)
Description
In line display, draws a horizontal level and colors the parts below it red. Not used for the bar boundaries.

Upper limit of the low zone

English item name
Low zone up to
Input name
InpZone1
Default
20
Allowed range
0 or more, and not above Middle zone up to
Description
Green zone in bar display. Bars equal to this value are included.

Upper limit of the middle zone

English item name
Middle zone up to
Input name
InpZone2
Default
40
Allowed range
Not below Low zone up to, and 100 or less
Description
Values above the upper limit of the low zone and up to this value are gold; values above it are red-orange. If the 2 upper limits are equal, there is no middle zone.

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

The line or bars are interrupted

Nothing is shown until Window source values are available. Also, when the maximum and minimum in the calculation window are equal, no value is output because the division cannot be done. It is not replaced with 0.

Changing the multiplier does not change the shape

Even if the same source is multiplied by a constant positive multiplier, the multiplier cancels out in the relative position against the lowest and highest. Changing only the BB deviation multiplier does not necessarily move the line.

The relative position moves although the volatility measure is the same

When an old maximum or minimum drops out of the calculation window, the relative position changes even if the source value is the same. To compare absolute volatility, also check the original indicator.

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

Relative position formula

With x as the current source value and min/max as the lowest/highest of the latest Window values including the current one, the value is 100×(x−min)/(max−min). It is calculated only when max is greater than min.

ATR, BB width, channel width

TR=max(H, previous C)−min(L, previous C). For the oldest bar, H−L. ATR is the N-bar simple average of TR. BB width is 2×deviation multiplier×population standard deviation of the close/Point. Channel is (highest H−lowest L)/(Point×N) over the latest N bars.

Calculation of Aggressiveness

For bars with C>O, C−previous C is used; otherwise previous C−C is used. The N-bar sum is divided by Point×N. It is not an absolute value, so it also takes negative values, and it does not represent the measured number of buyers and sellers or the volume.

Number of bars needed first

As a guide, ATR, BB width and Channel start from bar N+W−1 onward, and Aggressiveness from bar N+W onward. If all the volatility values in the calculation window are the same, no value is output after that either. The latest bar changes with price updates.