MT5 indicators← Range Midline Cloud 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 Midline Cloud

A blue line connecting the midpoints of the high and low, and an orange line connecting its past values. The fill between them lets you compare the positions of the current and past midlines.

Indicator name: Range Midline CloudMetaTrader 5Main chart

The cloud is between the current and past midlines, not the future

High and low of the last P bars → blue midlineMidline from D bars ago → orange delayed lineGreen fill if blue is above, pale red fill if belowIt is not a cloud that forecasts the direction of price
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Distinguish blue and orangeBlue is the middle of the current range; orange is the midline value from D bars ago.

2

Look at which way the fill goesThe fill changes depending on whether blue is above or below orange.

3

The wide period is independentThe dark gray line is a high-low midline with a separate period.

Middle of high and low, not an average of pricesNot extended to future barsThe midline can be stepped
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
Midline period
InpPeriod
75 → 34
Delay bars
InpDelay
75 → 29
Separate-period midline
InpWidePeriod
121 → 55

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 settingsInpPeriod = 75 / InpDelay = 75 / InpWidePeriod = 121
Range Midline Cloud default settings
The area between blue and orange is filled, and a dark gray midline with a different period is also shown.
View the screen in detail at full size
Range Midline Cloud default settings (actual size)
Settings change exampleInpPeriod = 34 / InpDelay = 29 / InpWidePeriod = 55
Range Midline Cloud settings change example
Changed to period 34, delay 29 and separate period 55. The center line is hidden in both images.
View the screen in detail at full size
Range Midline Cloud 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

Blue

The average of the recent high and low. It is not a moving average of the close.

Orange

Past values of the same midline. It is not a line that delays the current price.

Green / pale red

Shows which midline is above the other. It has a different meaning from the candlestick colors.

3

What it measures

Shows in which direction the middle of the price range in the period has moved from the past middle.

High-low midline

Adds the highest high and lowest low of the last P bars and divides by 2. The current bar is included in the range.

Delayed midline

Draws the high-low midline calculated D bars ago at the current position. It is not a leading cloud.

Separate period and center

The Wide Period midline is independent. When Show Center is enabled, the average of blue and orange is shown as a gray dotted line.

Flat sections

While the highest high and lowest low of the calculation window do not change, the midline does not move. A flat line does not necessarily mean updating has stopped.

4

Situations for reading the display

The fill switched

Indicator
Blue and orange have swapped places.
Cross-check
Compare the 2 values on the same bar.
Check
Check the midline period and the delay bars.
Caution
It does not guarantee a price reversal.

The midline is flat

Indicator
If the ends of the range are the same, the middle is the same too.
Cross-check
Check the high and low of the calculation window.
Check
Distinguish a stopped data feed from a flat calculated value.
Caution
The midline may not move even when the close moves.
5

Steps for checking the display

1

Apply with the defaults

Check the 3 lines (blue, orange, dark gray) and the fill.

2

Read which of the 2 lines is above

Compare blue and orange at the same time.

3

Change settings 1 item at a time

Compare the roles of the period, delay and separate period separately.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Range_Midline_Cloud.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 4 inputs. Change them on the Inputs tab of the properties window. The English display names are shown together with the input names in the code.

Midline period

Name shown on screen
Midline Bars
Input name
InpPeriod
Default
75
Allowed range
1–1000 bars
Description
Number of bars P searched for the blue high-low midline.

Delay bars

Name shown on screen
Delay Bars
Input name
InpDelay
Default
75
Allowed range
1–1000 bars
Description
Number of bars D back to the past midline used for the orange line.

Separate-period midline

Name shown on screen
Wide Midline Bars
Input name
InpWidePeriod
Default
121
Allowed range
0–2000 bars
Description
0 hides the dark gray line. 1 or more is the number of bars W for an independent high-low midline.

Center line of the 2 lines

Name shown on screen
Show Center Line
Input name
InpShowCenter
Default
false
Allowed range
true / false
Description
Shows the average of blue and orange as a gray dotted line.
8

Usage specifications

Forming bar

When the latest high or low changes, the current midline and fill also move.

History and start of display

Blue starts from bar P counted from the oldest, orange and the fill from bar P+D, and the line with a different period from bar W. The defaults are the 75th, 150th and 121st bars respectively.

Compare under the same conditions

If the period, history or timeframe differs, the shape also changes. The fill is not a range of future price movement.

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

Only the orange line or the fill does not appear

At least P+D bars of history are needed. If the 2 midlines have the same value, the fill thickness is 0.

The gray line cannot be found

Check whether Wide Period is 0 or Show Center is false. The separate-period line and the center line are different things.

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

Formulas and display position

M[i]=(highest high + lowest low of the last P bars)/2. Delayed line = M[i−D]. The fill is between these 2 values. Center = (M[i]+M[i−D])/2. Future indexes are not referenced.

Relation to standard indicators

The high-low midline uses the same formula as the Ichimoku conversion line and base line with the same period. Values have been cross-checked at 75, 34 and 9 bars and, for the separate period, 121, 55 and 26 bars under the same conditions. This product does not reproduce the full Ichimoku or its leading spans.