First check with the defaults
Look at the positions of the upper and lower dot series and the highs and lows of the candles. The green lower line can have the same color as bullish candles.
It chooses 2 peaks or 2 troughs on the same side to make a sloped band, and keeps the upper, lower and middle positions visible from each bar as dots. Arrows are overlaid on bars whose high or low goes outside the band.
Read the 3 dot seriesUpper is Crimson, lower SeaGreen and middle DarkOrange. It is not a display that extends 1 current straight line into the past.
Choose 2 points on the same sideIt chooses the side of the latest peak or trough and connects it with 1 other point on the same side. The opposite line is a parallel line along the high or low taking the slope into account.
Arrows record bars outsideBlue means the high is above the upper line, and Magenta that the low is below the lower line. They appear on every bar while price stays outside, so they are not a signal only for the first breakout.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
Look at the positions of the upper and lower dot series and the highs and lows of the candles. The green lower line can have the same color as bullish candles.
12 is the number of bars on each side. Peaks and troughs are judged on 25 bars including the center, and used after the 12 bars on the right have closed.
The dot series are the positions of the band, and the arrows are the state where that bar's high or low is outside the band. It is not a check of a breakout by the close.
What it measures is the position, width and slope of a band made from 2 confirmed extremes on the same side, and whether each bar's high or low is outside it. It does not measure trading strength or the probability of a future rebound.
It searches for extremes from the newer side, fixes on the side of the peak or trough found first, and connects 2 points. If the same bar is both a peak and a trough, the trough is chosen first.
Over the range from the older extreme to 2 bars before the output bar, it makes a parallel line through the outermost high or low adjusted for the slope. The latest 2 bars are not included in this width search.
The width is upper line − lower line expressed in points. The slope is the price change per 1 bar expressed in points. It is neither an angle in degrees nor pips.
If the high strictly exceeds the upper line, a blue up arrow; if the low is strictly below the lower line, a Magenta down arrow. Both can appear on the same bar.
At first, use Closed Bars Only=true so that the forming bar is excluded from what is read.
Distinguish the dot series, and check that arrows are placed at the line values. They are not marks attached to the tips of the candles.
Fractal Bars is the width of peaks and troughs and the number of bars to wait; Search Bars is the range in which the 2 points are searched for.
Compare on separate charts. Changing settings or history also recalculates past results.
| Included file | Purpose / location |
|---|---|
| TRI_Two_Point_Fractal_Channel.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.
InpBarsInpSearchInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYThe default true uses extremes up to closed bars. false displays a provisional channel on the latest bar, and it is not only the arrows that change. Distinguish it from confirmed records.
In normal updates with the same inputs and the same history, output on closed bars is not later replaced with the latest line. Additions to or corrections of the history and settings changes are separate.
There are no objects extending the current straight line into the past or future, automatic windows per timeframe, notifications, voice readout, stop lines or statistics display. This product does not reproduce the display at the same positions and times as the original indicator.
A point is the price unit of the symbol. Even with the same width value, the price difference changes with the symbol's digits. The slope is not in degrees.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Check for insufficient history, waiting for confirmation on the right side, and the absence of 2 extremes on the same side within Search. If Search is equal to or less than Fractal Bars, the search cannot be done.
This is the specification of Closed Bars Only=true. Changing to false makes the display on the latest bar provisional.
An arrow is shown every time a bar is outside. It does not mean repeated notifications or a calculation error, and there is no input to limit it to the first time price goes outside.
If the lower line and bullish candles have the same color, also check the background and candle colors. The width and slope are not drawn as text on the chart. The display in the Data Window has not been checked.
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.
It judges with F bars on each side. Equal values on the older side are allowed, and on the newer side only strictly lower troughs and strictly higher peaks are adopted. Whether the handling of equal values matches other indicators with the same name has not been checked.
buffers 0 to 2 are Upper, Lower and Middle (dot 158). 3 is Break Above (up arrow 233), 4 is Break Below (down arrow 234). 5 is Width (points) and 6 is Slope (points per bar), with DRAW_NONE. Empty is EMPTY_VALUE.
At output bar t, it searches for centers from t−F toward the older side down to max(F,t−Search+1). The slope is decided by the 2 extremes of the side chosen first, and the search for the opposite line runs from the older extreme to t−2.
With false, on the latest bar t, the forming high and low enter the check of center t−F. If this candidate stops being formed, the adopted side or the 2 points can change, and the lines, width and slope also change.
The published images and values were checked on the product before the brand display was added. For the product with the brand display, it was confirmed that the calculation part is the same, but the display on screen has not been checked yet. Whether it gives the same values as other indicators with the same name, the intermediate calculation values, the subwindow name and the Data Window display, and behavior on long histories or on symbols with a different number of price digits have not been checked.