Blue
The average of the recent high and low. It is not a moving average of the close.
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.
Distinguish blue and orangeBlue is the middle of the current range; orange is the midline value from D bars ago.
Look at which way the fill goesThe fill changes depending on whether blue is above or below orange.
The wide period is independentThe dark gray line is a high-low midline with a separate period.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
The average of the recent high and low. It is not a moving average of the close.
Past values of the same midline. It is not a line that delays the current price.
Shows which midline is above the other. It has a different meaning from the candlestick colors.
Shows in which direction the middle of the price range in the period has moved from the past middle.
Adds the highest high and lowest low of the last P bars and divides by 2. The current bar is included in the range.
Draws the high-low midline calculated D bars ago at the current position. It is not a leading cloud.
The Wide Period midline is independent. When Show Center is enabled, the average of blue and orange is shown as a gray dotted line.
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.
Check the 3 lines (blue, orange, dark gray) and the fill.
Compare blue and orange at the same time.
Compare the roles of the period, delay and separate period separately.
| Included file | Purpose / location |
|---|---|
| TRI_Range_Midline_Cloud.ex5 | The 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.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.
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.
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.
InpPeriodInpDelayInpWidePeriodInpShowCenterWhen the latest high or low changes, the current midline and fill also move.
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.
If the period, history or timeframe differs, the shape also changes. The fill is not a range of future price movement.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.
At least P+D bars of history are needed. If the 2 midlines have the same value, the fill thickness is 0.
Check whether Wide Period is 0 or Show Center is false. The separate-period line and the center line are different things.
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.
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.
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.