MT5 indicators← Session Range Levels 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

Session Range Levels

Fixes the high and low of a specified time range each day and displays lines after that time range has ended.

Indicator name: Session Range LevelsMetaTrader 5Displays levels on the price chart

Aggregate the specified time range → wait until it ends → display the high, low and midpoint

1 Aggregate the specified time range2 Wait until it ends3 Display the high, low and midpoint
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Hidden while aggregatingThe lines for that time range are not shown until the specified time range ends.

2

High, low and midpointGreen is the high, red is the low, and gray is their midpoint.

3

Choose when the display endsDisplayed until Draw Until, to distinguish it from the next aggregation.

MT5 onlyCalculated display based on the settingsNo notifications or orders
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
Start hour / Window Start Hour
InpStartHour
0 → 4
Outer width / Offset (points, 0 = none)
InpOffset
0 → 5

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 settingsInpStartHour = 0 / InpOffset = 0
Session Range Levels default settings
Default example that aggregates 00:00 to 08:00 and displays after it ends.
View the screen in detail at full size
Session Range Levels default settings (full size)
Settings change exampleInpStartHour = 4 / InpOffset = 5
Session Range Levels settings change example
An example changed to 04:00 to 08:00, with outer lines at 5 points added.
View the screen in detail at full size
Session Range Levels settings change example (full 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

Hidden while aggregating

The lines for that time range are not shown until the specified time range ends.

High, low and midpoint

Green is the high, red is the low, and gray is their midpoint.

Choose when the display ends

Displayed until Draw Until, to distinguish it from the next aggregation.

3

What it measures

Fixes the high and low of a specified time range each day and displays lines after that time range has ended.

How the time range works

The start and end are specified in server time. If the end is earlier than the start, the range crosses midnight. A setting such as 22:00 to 02:00 is also possible.

How bars are selected

Uses the highs and lows of bars whose open time is within the time range. Bars are not split partway. To match the boundaries finely, choose a chart timeframe that fits them.

Additional outer lines

If Offset is positive, high + Offset×point and low − Offset×point are added. At 0, they are not added.

4

Situations for reading the display

Hidden while aggregating

Indicator
The lines for that time range are not shown until the specified time range ends.
Cross-check
Cross-check the settings against the corresponding parts of the published screen.
Check
The start and end are specified in server time. If the end is earlier than the start, the range crosses midnight. A setting such as 22:00 to 02:00 is also possible.
Caution
This is not a display that instructs trades based only on colors or on levels being reached or crossed.

High, low and midpoint

Indicator
Green is the high, red is the low, and gray is their midpoint.
Cross-check
Cross-check the settings against the corresponding parts of the published screen.
Check
Uses the highs and lows of bars whose open time is within the time range. Bars are not split partway. To match the boundaries finely, choose a chart timeframe that fits them.
Caution
This is not a display that instructs trades based only on colors or on levels being reached or crossed.

Choose when the display ends

Indicator
Displayed until Draw Until, to distinguish it from the next aggregation.
Cross-check
Cross-check the settings against the corresponding parts of the published screen.
Check
If Offset is positive, high + Offset×point and low − Offset×point are added. At 0, they are not added.
Caution
This is not a display that instructs trades based only on colors or on levels being reached or crossed.
5

Steps for checking the display

1

Check the base

The start and end are specified in server time. If the end is earlier than the start, the range crosses midnight. A setting such as 22:00 to 02:00 is also possible.

2

Align the settings

Check the settings list below in the input fields of the properties. Do not confuse periods, times and units.

3

Load the required history

Use a chart shorter than D1. If the start of a time window is before the oldest loaded bar, that first time window is not shown.

4

Read the screen and values

Match the diagram, the actual screen and the price scale. Also check for lines off the screen and overlapping lines.

6

Installation and checking the package contents

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

Start hour

English item name
Window Start Hour
Input name
InpStartHour
Default
0
Allowed range
Integer from 0 to 23
Description
Specifies the start of the time range in server time.

Start minute

English item name
Window Start Minute
Input name
InpStartMinute
Default
0
Allowed range
Integer from 0 to 59
Description
The minute of the start time.

End hour

English item name
Window End Hour
Input name
InpEndHour
Default
8
Allowed range
Integer from 0 to 23
Description
The end time of the aggregation. It cannot be the same time as the start.

End minute

English item name
Window End Minute
Input name
InpEndMinute
Default
0
Allowed range
Integer from 0 to 59
Description
The minute of the end time. If it is earlier than the start, it falls on the next day.

Display end hour

English item name
Draw Until Hour (same as the start: until the next window)
Input name
InpUntilHour
Default
0
Allowed range
Integer from 0 to 23
Description
If it is the same time as the start, the display lasts until the next start. Otherwise, a time after the aggregation end is required.

Display end minute

English item name
Draw Until Minute
Input name
InpUntilMinute
Default
0
Allowed range
Integer from 0 to 59
Description
The same time as the aggregation end is also invalid.

Outer width

English item name
Offset (points, 0 = none)
Input name
InpOffset
Default
0
Allowed range
Integer from 0 to 100000
Description
In points. 0 means no additional lines.
8

Usage specifications

Usable timeframes

Use a chart shorter than D1. If the start of a time window is before the oldest loaded bar, that first time window is not shown.

No bars in the time window

If there are no bars to aggregate, no lines appear. On weekends or with missing data, do not expect a display based on the number of days alone.

Latest bar and history

The forming bar may change with price updates. Past calculation results may also change with history additions or corrections or settings changes.

MT5 only

No account authentication or license file is required. There are no sound, notification or order functions. An MT4 version is not included.

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

No lines even after the end

Check that the display end time has not passed, that there were bars within the time range, and that the history does not begin partway through the time range.

The settings were rejected

Check for start = end, a display end at or before the aggregation end, and a chart at D1 or higher.

There are bars that cross a boundary

Because the high and low of the whole bar are used, choosing a timeframe whose bar starts align with the time boundaries makes it easier to match the explanation.

The display stopped

Check the price feed, terminal connection, history loading and input ranges. Not being displayed does not necessarily mean a malfunction.

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

Display interval

The length from start to end is found within 24 hours, and aggregation uses each bar's open time. The fixed high, low and midpoint are displayed on bars from after the end until before Draw Until.

Calculated values

H is the highest high of the time range, L is the lowest low, and Mid=(H+L)/2. The additional lines are H+Offset×point and L−Offset×point.