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
Confirmed Fractal Marks
Compares the prices before and after to confirm the shape of a peak or trough, and shows an arrow on the bar where that confirmation is possible. The arrow's horizontal position is the confirming bar, and its price height is based on the candidate peak or trough.
Shown on the confirmed bar, not at the center of the peak or trough
Schematic diagram of how to read it. This is not an actual terminal screen.
1
Orange-red pointing downA mark that confirmed a high-side fractal.
2
Blue pointing upA mark that confirmed a low-side fractal.
3
Separate horizontal position and heightThe candidate high or low is shown on the bar that comes the right-side number of bars after the candidate.
Default is 2 bars on the rightHigh and low sides judged separatelyDefault is closed bars only
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
Bars on the left / Bars On The Left (1 to 50) InpLeft2 → 6
Bars on the right / Bars On The Right (1 to 50) InpRight2 → 6
Left-side rule / Left Side Rule InpLeftRuleMT4 Forms Of 5 To 9 Bars → Not Higher (Not Lower For Lows)
Right-side rule / Right Side Rule InpRightRuleStrictly Lower (Higher For Lows) → Not Higher (Not Lower For Lows)
Distance base / Distance Base InpDistanceBaseNone → Average High-Low Range Of 20 Bars At The Fractal, Multiple
Amount to offset the mark / Distance (points, or the multiple) InpDistance0 → 0.3
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 settingsInpLeft = 2 / InpRight = 2 / InpLeftRule = MT4 Forms Of 5 To 9 Bars / InpRightRule = Strictly Lower (Higher For Lows) / InpDistanceBase = None / InpDistance = 0
By default, the left side uses the 5- to 9-bar pattern and the right side uses strictly 2 bars. The arrow is at the horizontal position 2 bars after the candidate.View the screen in detail at full size
Settings change exampleInpLeft = 6 / InpRight = 6 / InpLeftRule = Not Higher (Not Lower For Lows) / InpRightRule = Not Higher (Not Lower For Lows) / InpDistanceBase = Average High-Low Range Of 20 Bars At The Fractal, Multiple / InpDistance = 0.3
Changed to 6 bars on each side, comparisons that allow equal values, and the 20-bar average range at the candidate × 0.3. At the edge of the screen, some arrows are cut off.View the screen in detail at full 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
What to look at
Looks at the shape of prices that are higher or lower than the bars before and after.
Where does it appear
It appears on the bar where the R bars on the right have been checked. Default R=2.
Not a trading instruction
The arrow direction distinguishes high and low shapes. It does not guarantee a future reversal.
3
What it measures
The prices to compare, the left and right rules and the distance to offset the mark are set separately.
Right-side comparison
All R bars after the candidate are compared. Strictly Lower means strictly lower on the high side, and Not Higher also allows equal values. On the low side, the inequalities are reversed.
4 left-side rules
Choose from strict, equal values allowed, a compatible counting that skips equal values, and the 5-to-9-bar form. With the 5-to-9-bar form, Left and Equal Max are not used in the calculation.
Judgment price and mark price
Even when judging by close, open, median price and so on, the arrow's price is based on the candidate's high or low.
Distance
Choose from None, points, the simple average of the true range over 20 bars, and the average of high minus low over 20 bars. The average ends at the candidate bar.
4
Situations for reading the display
A peak mark appeared
Indicator
Downward mark
Cross-check
The candidate R bars before and the prices on its left and right
Check
Check whether the candidate meets the rules
Caution
The bar with the mark is not necessarily itself the peak.
Up and down marks appeared on the same bar
Indicator
2 marks at the same time
Cross-check
High-side and low-side judgments
Check
Check both conditions separately
Caution
There is no rule that gives one priority and removes the other.
Peaks of equal value continue
Indicator
Around a flat top
Cross-check
Equal-value rules on the left and right
Check
Distinguish the 5-to-9-bar form from the normal comparison
Caution
When equal values are allowed, several candidates may pass.
The mark seems late
Indicator
Horizontal position away from the candidate
Cross-check
Bars On The Right
Check
Check whether it is waiting R bars for confirmation
Caution
Making Right larger also moves the time of confirmation later.
5
Steps for checking the display
1
Look from the default settings
First load only this product, and check the price bars and the horizontal position of the marks.
2
Find the candidate bar
The bar with the mark is not necessarily the peak or trough. Look for the bar that is earlier by the number of bars each product waits.
3
Distinguish the forming bar
Check Closed Bars Only and the latest bar, and distinguish closed-bar marks from the provisional display on the forming bar.
4
Compare one item at a time
On a separate chart, change the settings one at a time. The published change example is an example to show the effect, not a recommended setting.
6
Installation and checking the package contents
Included file
Purpose / location
TRI_Confirmed_Fractal_Marks.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.
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 13 inputs. Change them on the Inputs tab of the properties. The English item names defined in the source are shown together with the input names.
Bars on the left
English item name
Bars On The Left (1 to 50)
Input name
InpLeft
Default
2
Allowed range
Integer 1 to 50
Description
The number of bars on the older side of the candidate. It is not used with the 5-to-9-bar form, but the input range is still checked.
Bars on the right
English item name
Bars On The Right (1 to 50)
Input name
InpRight
Default
2
Allowed range
Integer 1 to 50
Description
The number of bars compared after the candidate, which is also the number of bars waited before placing the mark.
Left-side rule
English item name
Left Side Rule
Input name
InpLeftRule
Default
MT4 Forms Of 5 To 9 Bars
Allowed range
4 types
Description
Strictly Lower / Not Higher / Equal Bars Skipped / MT4 Forms. On the low side, the direction of the comparison is reversed. The rule that skips equal values has the counting limitation described later.
Number of equal values allowed
English item name
Equal Bars Allowed (Equal Bars Skipped rule, 0 to 20)
Input name
InpEqualMax
Default
1
Allowed range
Integer 0 to 20
Description
Used only by the rule that skips equal values. The search limit also depends on this value. With Left=2 and Equal Max=0, no mark appears even if both of the 2 bars are strictly lower.
Right-side rule
English item name
Right Side Rule
Input name
InpRightRule
Default
Strictly Lower (Higher For Lows)
Allowed range
Strictly Lower / Not Higher
Description
A strict comparison, or a comparison that allows equal values. On the low side, the comparison becomes strictly higher / not lower.
Price to judge
English item name
Test Price
Input name
InpTestPrice
Default
High (Low For Low Fractals)
Allowed range
High/Low, Close, Open, Median, Typical, Weighted
Description
High/Low uses the high for the high side and the low for the low side. The others look for peaks and troughs in the same price series.
Distance base
English item name
Distance Base
Input name
InpDistanceBase
Default
None
Allowed range
None, Points, ATR20, average range 20
Description
ATR20 is the simple average of the true range. The 2 20-bar averages need 20 bars up to the candidate, and even with Distance=0, the earliest candidates are not shown.
Amount to offset the mark
English item name
Distance (points, or the multiple)
Input name
InpDistance
Default
0
Allowed range
0〜100000
Description
With Points, the number of points; with the 2 averages, the multiple. Not used with None. Added to the high and subtracted from the low.
Closed bars only
English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
true does not place marks on the latest forming bar. They are shown at the update when the last bar needed for the judgment has closed and the next bar has started. With false, marks appear and disappear with the price movement of the latest bar.
Brand and QR
English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Switches the display only. 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 / Bottom left / Bottom right / Top right
Description
The default is bottom left.
Horizontal margin
English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer (pixels)
Description
Default 10. Negative numbers are treated as 0, and values above 4000 as 4000.
Vertical margin
English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer (pixels)
Description
Default 10. Negative numbers are treated as 0, and values above 4000 as 4000.
8
Usage specifications
Note on the rule for skipping equal values
The search limit shrinks each time a required lower bar is found. It is not simply a process of "skip E equal bars and count L bars". With Left=2 and Equal Max=0, it fails even if the 2 bars are both lower; with Equal Max=1, that example succeeds. For ordinary bar-count comparison, use Strictly Lower or Not Higher.
Name of the 5- to 9-bar pattern
The name represents the pattern when the right side is 2 bars. If Right is changed, the number of bars in the whole pattern also changes.
Appearance of arrows
In addition to the price distance, there is a drawing margin of 10 pixels on each of the upper and lower sides. The apparent gap from the price changes with the screen zoom level.
point and pip
A point is the unit of the smallest displayed digit of the symbol. It is not necessarily the same as a pip. For example, on a 5-digit forex quote, 5 points is 0.00005.
History and the forming bar
This is verified on the assumption that only subsequent bars are added after closed bars, with the same history and the same settings. Filling in or correcting the history, the loading start position, or recalculation with changed settings may change past results.
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 marks are found
Check the history needed for the judgment and the conditions for it to be met. It is not an indicator that shows a mark on every bar. Widen the visible range toward the past to check.
Marks are cut off at the edge
Adjust the margin of the price scale and the chart's visible range. Because the center price is placed on a different bar, it may be far from the candles.
Bar for the mark
This product places a mark on the bar where the conditions could be confirmed. It does not afterwards move marks back to the peak or trough bar from before the confirmation.
An input was rejected
Left and Right are 1 to 50, Equal Max is 0 to 20 and Distance is 0 to 100000. Out of range, the calculation does not start.
Only the earliest marks are missing
History for the selected left-side type is needed. If ATR or the average range is selected, 20 bars up to the candidate are 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
Left-side conditions of the 5-to-9-bar form
Let v be the high-side candidate value and g1…g6 the values from the previous bar toward older ones. It is any of: (1) v>g1,g2; (2) v=g1 and v>g2,g3; (3) v≥g1, v=g2, v>g3,g4; (4) v≥g1, v=g2=g3, v>g4,g5; (5) v≥g1, v=g2, v≥g3, v=g4, v>g5,g6. The low side reverses the comparisons. The right-side conditions are checked separately.
Confirmation and output
For a candidate c, the output is at t=c+Right. The high side is high[c]+distance and the low side is low[c]−distance. With closed bars only, the value is blank if t is forming.
Details of equal-value skipping
Remaining bars l=Left, remaining equal values e=Equal Max. On the older side, j from 1 is checked while j≤l+Equal Max; if lower, l is decreased, and if equal, e is decreased. It is met at l=0 and not met when e<0 or at a value exceeding the candidate.
How the display works
Marks are not moved back to the center before confirmation; they are placed on the confirming bar. There are no separate price, bar-count or distance settings for up and down, no function to limit it to a specific type, and no notifications.