MT5 indicators← Stream Channel Swing 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

Stream Channel Swing

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.

Indicator name: Stream Channel SwingMetaTrader 5Price chart

The band follows price → break of the opposite side → vertex on the confirming bar

Top price heldConfirming bar of the downside breakDiagram of the unsmoothed band. The mark is not moved back to the extreme's bar.
Schematic diagram of how to read it. This is not an actual terminal screen.
1

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.

2

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.

3

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.

Default 125 points / line smoothing 6Smoothing is for the band display onlyDefault is closed bars onlyMT5, no account authentication
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
Band width basis / Channel Width in Points (1 to 100000)
InpDepth
125 → 60
Band line smoothing period / Channel Line Smoothing (1 to 100)
InpSmooth
6 → 1

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 settingsInpDepth = 125 / InpSmooth = 6
Stream Channel Swing default settings
Defaults: Channel Width 125, Channel Line Smoothing 6. The band is displayed as a 6-bar average, but turns are evaluated on the band before smoothing.
View the screen in detail at full size
Stream Channel Swing default settings (actual size)
Settings change exampleInpDepth = 60 / InpSmooth = 1
Stream Channel Swing settings change example
Change example: Channel Width 60, Channel Line Smoothing 1. The band lines are not smoothed. This example changes the width and the display smoothing at the same time, so the difference cannot be read as the effect of only 1 item.
View the screen in detail at full size
Stream Channel Swing settings change example (actual size)

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.

2

How to read it in 30 seconds

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.

Look at breaks of the opposite side

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.

Read the confirmation time

The bar with the mark is the time of confirmation. The mark was not visible from the moment the past extreme was made.

3

What it measures

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.

Raising and lowering the band

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 width is not always constant

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.

Bars that break both sides

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.

Separate display from decision

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.

4

Situations for reading the display

A red peak appeared

Indicator
Confirmation from upward to downward.
Cross-check
Look at the bar whose low fell below the unsmoothed lower edge.
Check
Read the horizontal position as the confirming bar and the height as the held high.
Caution
It does not guarantee that you could sell at that price or that the price will fall afterward.

A green trough appeared

Indicator
Confirmation from downward to upward.
Cross-check
Look at the bar whose high exceeded the unsmoothed upper edge.
Check
Separate when the extreme formed from when the turn was confirmed.
Caution
It is not a buy instruction.

Price broke the displayed band but there is no mark

Indicator
The displayed line may be an averaged band.
Cross-check
Compare with a separate chart with smoothing set to 1.
Check
Also check the current direction and the priority rule for breaks on both sides.
Caution
Touching the displayed line alone does not cause a turn.

Made the width smaller

Indicator
The band's following conditions change.
Cross-check
Compare the confirmation times and band positions on the same history.
Check
Track differences in state, not only the increase or decrease in points.
Caution
It does not necessarily just subdivide the existing vertices.
5

Steps for checking the display

1

Apply with the defaults

Check width 125, line smoothing 6 and Closed Bars Only true.

2

Check the point unit

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.

3

Check the band before the decision

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.

4

Separate confirmation time from extreme price

Read the bar with the red or green mark and the mark's price separately.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Stream_Channel_Swing.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.

Band width basis

English item name
Channel Width in Points (1 to 100000)
Input name
InpDepth
Default
125
Allowed range
Integer 1 to 100000 points
Description
Default 125. Price width = input value × the symbol's _Point. It is not a guarantee that the band is always that wide, but the basis for making the opposite edge follow.

Band line smoothing period

English item name
Channel Line Smoothing (1 to 100)
Input name
InpSmooth
Default
6
Allowed range
Integer 1 to 100
Description
Default 6. Displays the simple average of the upper and lower edges over the latest number of bars. 1 means no smoothing. It does not change turn decisions or vertices.

Use closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
true does not decide on the latest forming bar and does not display the band lines there either. With false, the latest bar is also updated and changes until the bar closes.

Brand display and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Switches the brand text and QR display on or off.

Brand display position

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Allowed range
Top left / Bottom left / Top right / Bottom right
Description
Choose from the four corners of the chart.

Brand horizontal offset

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer. Limited to 0 to 2000
Description
Adjusts the horizontal margin from the specified corner in pixels.

Brand vertical offset

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer. Limited to 0 to 2000
Description
Adjusts the vertical margin from the specified corner in pixels.
8

Usage specifications

When the lines start to be drawn

The 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.

Confirmed dots and segments

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.

Recalculation and the forming bar

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.

Difference between price and time

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.

Functions not included

There is no line extending from an unconfirmed extreme to the latest close, no middle line, no sound notification and no order function.

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

Only the band, no blue line

Points appear once the initial direction is decided and a turn follows. Several confirmed points are needed to connect a line.

The vertices stay the same when the smoothing changes

This is normal. Smoothing is used only for displaying the orange and purple lines.

The band width differs from the specified value

The initial width and the width while following are not fixed. Also distinguish the smoothed display lines from the unsmoothed decision band.

Marks are away from the candles

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.

Inputs are not accepted

Use integers: width 1 to 100000 and smoothing 1 to 100.

No line on the latest bar

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.

10

Technical information and specification details

Band and initialization

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.

Strict breaks and equal values

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.

Drawing style

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.

Scope of the published images

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.

Scope of verification

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.