Look at the band
When the low exceeds the upper edge, the band is raised; when the high falls below the lower edge, the band is lowered. It is not a band widened around a moving average.
Confirms tops and bottoms on the bar that breaks through the opposite side of a band that moves with price. The vertices of the blue line are placed at the extreme prices, and their horizontal position is the bar where the turn could be decided.
Blue line and red and green marksBlue is the line connecting confirmed vertices. Red is a top and green is a bottom; the held price is drawn on the confirming bar.
Orange and purple band linesOrange is the average of the upper edge, and purple of the lower edge. By default they are smoothed over 6 bars. Turn decisions use the band before smoothing.
Not a break by the closeBand breaks are checked with the high and low. For a bar that breaks both sides, the side with the larger break is taken; if equal, the lower side.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: M1. This is an example for explaining the display. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the packaged version has display settings for the brand text and the QR code. 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.
When the low exceeds the upper edge, the band is raised; when the high falls below the lower edge, the band is lowered. It is not a band widened around a moving average.
A break of the upper edge in the downward direction confirms a bottom, and a break of the lower edge in the upward direction confirms a top.
The bar with the mark is the time of confirmation. The mark was not visible from the moment the past extreme was made.
Measures a band that follows price and breaks to the opposite side. It is not a forecast of price movement, nor an indicator where a pullback of the specified width always means a turn.
When the low exceeds the upper edge, the upper edge is moved to that low, and the lower edge is also raised if needed. When the high falls below the lower edge, the reverse is done.
The specified width is the basis for making the opposite edge follow. The initial band is the high and low of the first bar, so it can be wider than the specified width. Midway, it can also be narrower than the specified width.
After the band is moved, the break above by the high and the break below by the low are compared. Only the larger side is handled; if equal, the lower side is taken.
Channel Line Smoothing averages only the orange and purple lines. It does not affect the blue vertices or the decision of turn times. If you look only at the smoothed lines, the breaks may not match.
Check width 125, line smoothing 6 and Closed Bars Only true.
The price width is the input value × the symbol's _Point. If _Point is 0.00001, 125 points is 0.00125. Do not confuse it with pips.
On a separate chart with smoothing 1, look at the raw band and the breaks by highs and lows. Changing only the smoothing leaves the vertices the same.
Read the bar with the red or green mark and the mark's price separately.
| Included file | Purpose / location |
|---|---|
| TRI_Stream_Channel_Swing.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 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.
InpDepthInpSmoothInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYThe band lines start once the smoothing bar count is available. Vertex evaluation is separate, and dots may appear before the smoothing bar count is available.
When closed bars are added with the same history and settings, confirmed dots are not moved to past extremes. When the next dot is confirmed, a segment is added. Do not read that segment as having been visible from earlier.
Results are recalculated on settings changes, history corrections and additional loading of older history. With Closed Bars Only=false, dots on the latest bar appear and disappear.
The height of a vertex is the held extreme price, and the horizontal position is the confirming bar. It may be away from the high/low of that bar, and it does not mean that a trade could have been made at that price.
There is no line extending from an unconfirmed extreme to the latest close, no middle line, no sound notification and no order function.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Points appear once the initial direction is decided and a turn follows. Several confirmed points are needed to connect a line.
This is normal. Smoothing is used only for displaying the orange and purple lines.
The initial width and the width while following are not fixed. Also distinguish the smoothed display lines from the unsmoothed decision band.
This is because past extreme prices are placed on the confirming bar. They do not necessarily match the high or low of the mark's own bar.
Use integers: width 1 to 100000 and smoothing 1 to 100.
With Closed Bars Only=true, both the vertex and the band lines on the forming bar are empty.
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.
The band starts with the high and low of the first bar. If low > upper edge, the upper edge is updated, and if upper edge ≥ lower edge + specified width, lower edge = upper edge − specified width. If high < lower edge, the reverse is done.
Band breaks are strict > / <. A touch at an equal value is not a break. If the break widths on both sides are equal, the lower side takes priority. In the initial state with no direction, the upper and lower sides are initialized in order before the priority side is processed.
The blue line is a DRAW_SECTION that connects confirmed points only. The red and green marks are also prices on the confirming bars. The band lines are averages over the latest number of bars, and the smoothing is not fed back into the turn calculation.
M1 is the timeframe shown when the display example was made. The price data is mainly at 30-minute intervals, and the image does not show how often marks appear on actual 1-minute bars.
The published images are screens from before the brand display was added. The on-screen display of the product with the brand display has not yet been verified.