MT5 indicators← Three Fractal Channel 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

Three Fractal Channel

It makes 2 parallel lines from the latest 3 confirmed fractals and keeps the position visible on each bar as a series of dots. It is not a band that always encloses price.

Indicator name: Three Fractal ChannelMetaTrader 5Price chart

Latest 3 points → line connecting the newest and oldest, and a parallel line through the middle point

Only points whose 2 bars on the right have closed are taken in3: oldest2: middle1: newestDiagram. The upper/lower of the color names is separate from the size of the prices.
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Read the positions of the 3 pointsIt uses the base line connecting the newest and oldest points and a parallel line through the middle point. If a bar has both a peak and a trough, the peak takes priority.

2

The dots are a historyThey draw the position at the time of each bar. When the set of 3 points changes, the dots jump. It is not a display that extends one current line over the whole past.

3

Not an enclosing bandDespite the names Upper/Lower, red can be lower than blue. Do not judge price being outside the 2 lines alone as abnormal or a trading opportunity.

Latest 3 pointsConfirmed by 2 bars on the rightOffset is in pointsMT5, 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
Position adjustment of the 2 lines / Offset (points, -1000 to 1000; negative narrows)
InpOffset
-3 → 20

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 settingsInpOffset = -3
Three Fractal Channel default settings
Defaults: Offset −3 point. The Crimson and DodgerBlue dot rows jump sharply, and there are sections that do not enclose the price. Some dots also go beyond the top and bottom edges.
View the screen in detail at full size
Three Fractal Channel default settings (full size)
Settings change exampleInpOffset = 20
Three Fractal Channel settings change example
Change example: Offset changed from −3 to 20. The difference from the default is +23 points for red and −23 points for blue. On this screen the difference is small and can hardly be seen in the reduced image alone.
View the screen in detail at full size
Three Fractal Channel settings change example (full size)

This is an example for explaining the display. M1 on the screen is the timeframe display at the time the display examples were made and does not show the frequency of occurrence on actual 1-minute bars. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the included version has display settings for the brand text and QR. The settings change example is not a recommended value. Details can be checked in the actual-size display. Also check the price scale of the main chart and the positions of the candles.

2

How to read it in 30 seconds

Look at the color of the dots

Red is the output name Upper Line and blue is Lower Line. The actual values are not re-sorted by size.

Check the timeframe

It uses the fractals of the chart being displayed. There is no input to select a different higher timeframe.

Blank on the latest bar

By default, the latest bar is empty. No dots appear before 3 points are available either.

3

What it measures

It records the position of geometric lines made from the arrangement of 3 points. It does not guarantee that support or resistance holds or the probability that price returns.

Fractals adopted

A peak whose high is strictly higher than each of the 2 bars on either side, or a trough whose low is strictly lower. It is confirmed when the 2nd bar on the right closes, and the latest 3 points are held in newest-first order. They do not need to alternate between peaks and troughs.

2 parallel lines

The line connecting the oldest and newest points is the base, and a parallel line through the middle point is made. The horizontal direction is calculated in numbers of bars and is not divided by real time.

Assignment of Upper/Lower

If the price of the middle point is higher than the newest point, the parallel line is Upper; otherwise the base line is Upper. This rule does not compare the sizes of the 2 lines at that time.

Exact effect of Offset

Offset×point is added to Upper, and the same amount is subtracted from Lower. When negative, red moves down and blue moves up, but because there are segments where upper and lower are reversed, the width does not always shrink.

4

Situations for reading the display

The dots suddenly jump

Indicator
The set of 3 adopted points changes
Cross-check
A new peak or trough whose 2 bars on the right have closed
Check
Read as updated to a different line
Caution
Not a continuous price trajectory

Price is outside the 2 lines

Indicator
Price moves away from the geometric 3-point lines
Cross-check
Arrangement of the 3 points and the chart's highs and lows
Check
Check as a state possible under the rules
Caution
Not a breakout trading signal

Red is lower than blue

Indicator
The output names and the order of values are reversed
Cross-check
Actual prices of the 2 lines
Check
Do not read the color names as an upper/lower ranking
Caution
Calling Offset inward or outward alone leads to misreading

Change Offset

Indicator
Red and blue move in opposite directions
Cross-check
The symbol's point and the amount of change
Check
Also compare the values on the same history
Caution
The difference may not be visible in the image
5

Steps for checking the display

1

Check the chart's timeframe and point

It uses the displayed timeframe, and Offset is in units of the symbol's point.

2

With the defaults, wait until 3 points are available

It waits for the conditions on the 2 bars on each side and for the close to be confirmed.

3

Cross-check the dots with price

Check not only whether price is enclosed, but also the jumps in the dots and the updates of the 3 points.

4

Change Offset, 1 item at a time

Check the sign and the amount of movement. The change example of 20 is not a recommended value.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Three_Fractal_Channel.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 6 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.

Position adjustment of the 2 lines

English item name
Offset (points, -1000 to 1000; negative narrows)
Input name
InpOffset
Default
-3
Allowed range
Integer from −1000 to 1000, in points
Description
Added to Upper and subtracted from Lower. −3 is the default. If point=0.00001, 20 points=0.00020; if point=0.01, it is 0.20. Distinguish it from pips.

Closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
With true, the latest forming bar is left empty. With false, it is a provisional display that includes the high and low of the latest bar in the check. The fractal formation, lines and arrows can change partway through a bar.

Brand display

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Turns the brand text and QR display on or off. The calculation conditions do not change.

Brand position

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

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer, pixels
Description
The horizontal distance from the selected corner. It is not used in the calculation.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer, pixels
Description
The vertical distance from the selected corner. It is not used in the calculation.
8

Usage specifications

Time of confirmation

Values are used from the time the 2nd bar to the right closes, not from the center of the peak or trough. They are not values that were known at the time of the center bar.

Provisional display on the latest bar

With Closed Bars Only=false, the high and low of the forming bar make fractals form or lapse. Distinguish the latest lines and marks from confirmed values.

Recalculation

In normal updates with the same inputs and the same history, output on closed bars is not changed afterward. Settings changes, additions to or corrections of the history, and reloading trigger recalculation.

3 points and line history

When the set of 3 points changes, it switches to a new line. Past dot rows keep their positions at the time. No trendline object extending into the future area on the right is drawn.

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

No dots appear

Check whether 3 fractal points are available and whether the history is sufficient. It is the default specification that only the latest bar is empty.

The lines do not enclose price

These are lines made from 3 points, and there is no width adjustment to enclose all prices. It is not necessarily abnormal.

The width widens even with a negative Offset

Because red and blue are not sorted by size, if upper and lower are reversed, the visible width can widen. Read it by the rule: added to red, subtracted from blue.

The difference in the change example cannot be seen

The difference becomes hard to see because of the small point and the vertical scale. Check the values and settings, and zoom in the display if needed.

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

Calculation from 3 points

In newest-first order, let the points be (x1,y1),(x2,y2),(x3,y3), and k=(y1−y3)/(x1−x3). The base value for the current bar t is B=y3+(t−x3)k, and the parallel value P=B+y2−(y3+(x2−x3)k). If y2>y1, Upper=P and Lower=B; otherwise Upper=B and Lower=P. Finally, Offset is added and subtracted.

Equal and simultaneous candidates

If the value equals any of the 2 bars on either side, the fractal on that side is not formed. If the same center meets both the peak and trough conditions, only the peak is adopted. The adopted points do not necessarily alternate between upper and lower.

Drawing correspondence

buffer 0 is Upper Line (Crimson) and 1 is Lower Line (DodgerBlue). Both are dot series with DRAW_ARROW, symbol 158 and width 2. Empty is EMPTY_VALUE. They are not continuously interpolated as lines.

Verified scope

The published images and numbers were checked on the product before the brand display was added. For the product with the brand display, we confirmed that the calculation part is the same, but the on-screen display has not yet been verified. Intermediate calculation values, the subwindow name and Data Window display, and behavior with long history or symbols with different price digits have not been verified.