Blue cloud
The 2 midpoints are each above their value the specified number of bars earlier.
Compares the midpoints of the highs and lows over different periods, and shows a cloud with width only on bars where both moved in the same direction.
Blue cloudThe 2 midpoints are each above their value the specified number of bars earlier.
Red-orange cloudBoth of the 2 are each below their value the specified number of bars earlier.
Zero-width sectionsBars where the directions do not agree, or where one of them does not change. A thin line can remain.
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 2 midpoints are each above their value the specified number of bars earlier.
Both of the 2 are each below their value the specified number of bars earlier.
Bars where the directions do not agree, or where one of them does not change. A thin line can remain.
Compares the midpoints of the highs and lows over different periods, and shows a cloud with width only on bars where both moved in the same direction.
Each midpoint is the average of the highest high and lowest low of the most recent Bars bars. Fast and Slow each have their own period and comparison Delay.
The area between A, the average of the current 2 midpoints, and B, the average of the midpoints each one is compared with, is filled. If the Delays differ, B is not the average at a single past point in time.
Unless the changes of the 2 midpoints are in the same direction, B=A is used. The width is also zero when one of them does not change.
Each midpoint is the average of the highest high and lowest low of the most recent Bars bars. Fast and Slow each have their own period and comparison Delay.
Check the settings list below in the input fields of the properties. Do not confuse periods, times and units.
It needs the larger of the bar counts obtained by adding each Delay to each period. With the defaults, it can be calculated from bar 14.
Match the diagram, the actual screen and the price scale. Also check for lines off the screen and overlapping lines.
| Included file | Purpose / location |
|---|---|
| TRI_Dual_Midline_Agreement_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. When comparing different settings, using separate charts makes checking easier.
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.
There are 4 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.
InpFastBarsInpFastDelayInpSlowBarsInpSlowDelayIt needs the larger of the bar counts obtained by adding each Delay to each period. With the defaults, it can be calculated from bar 14.
On bars with zero width, the 2 drawing values also hold the same value, and a thin line may be visible in MT5. A bar without a cloud is not necessarily completely blank.
The forming bar may change with price updates. Past calculation results may also change with history additions or corrections or settings changes.
No account authentication or license file is required. There are no sound, notification or order functions. An MT4 version is not included.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Check the number of history bars. If the 2 directions do not agree, the width is zero even when there is history.
What is compared is the 2 range midpoints. This does not mean the same as the latest price rising or falling.
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.
M1=(highest high+lowest low of period 1)/2, and M2 likewise for period 2. d1=M1(t)−M1(t−Delay1), d2=M2(t)−M2(t−Delay2). If d1×d2>0, A=(M1(t)+M2(t))/2 and B=(M1(t−Delay1)+M2(t−Delay2))/2. Otherwise B=A.
Counting the oldest bar as bar 0, display starts from bar max(Bars1−1+Delay1, Bars2−1+Delay2). Earlier bars are empty.