MT5 indicators← Confirmed ZigZag 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

Confirmed ZigZag

Records peak and trough candidates once the conditions are met, and shows the levels of the last confirmed high and low.

Indicator name: Confirmed ZigZagMetaTrader 5Price chart

High candidate → confirmed by opposite movement → recorded at that time

Candidate highMark at the confirmation timeHigh level heldBar where the confirmation conditions are metMark price = past candidate price / mark horizontal position = confirmation time
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Separate horizontal position and priceThe red down arrow is a confirmed high and the green up arrow is a confirmed low. The mark's price is the candidate's value; its horizontal position is the confirmation time.

2

The blue line connects confirmed pointsWhen the next point is confirmed, a line segment is added between it and the previous point. It does not mean that there was a signal at that time on each bar along the segment.

3

View the orange-red and gray levelsThe orange-red dotted line is the last high and the gray dotted line is the last low. There is no guarantee that price reverses there.

MT5 onlyClosed bars only by defaultConfirmation rules differ from the standard ZigZag
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
Extreme range / Depth (bars, 2 to 1000)
InpDepth
12 → 32
Price difference required for confirmation / Deviation (points, 0 to 100000)
InpDeviation
5 → 3
Minimum bars elapsed since the candidate / Backstep (bars, 0 to 1000)
InpBackstep
3 → 12

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 = 12 / InpDeviation = 5 / InpBackstep = 3
Confirmed ZigZag default settings
Defaults: Depth 12, Deviation 5 points, Backstep 3. Check the blue line, the red and green vertex marks, and the orange-red and gray held levels. Marks are on bars later than the actual peaks and troughs.
View the screen in detail at full size
Confirmed ZigZag default settings (actual size)
Settings change exampleInpDepth = 32 / InpDeviation = 3 / InpBackstep = 12
Confirmed ZigZag settings change example
Change example: Depth 32, Deviation 3 points, Backstep 12. In this display range there are few confirmed points, and the line segments are long. There is a green low mark at the lower left of the screen and red high marks on the upper side.
View the screen in detail at full size
Confirmed ZigZag 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

View with the defaults first

Set Closed Bars Only to true and look at the marks on closed bars and the 2 held levels. It is normal even if there is no new mark on the current bar.

Why it appears late

It records only once the extreme of the opposite Depth range, the price difference from the candidate and the bars elapsed are all in place. Marks are not moved back afterward to the highest/lowest bar.

Be careful when replaying the past

The blue line is connected after later points are added. Do not confuse the look of the completed picture with the picture that was visible in real time in the past.

3

What it measures

Records confirmed peaks and troughs and their levels using the extreme over a set period, a price difference and the number of bars elapsed.

Candidate and confirmation

In an upward state the highest high is held as the candidate, and the candidate is updated if a higher value appears. On a bar that does not update it, the high is confirmed when the opposite-side extreme, the price difference and the bars elapsed are met. Downward is the reverse.

All 3 conditions are required at the same time

Depth is the number of recent bars including the current check bar. Deviation is the distance from the candidate to the opposite-side value, and it must exceed the set value. Backstep is the minimum number of bars elapsed since the candidate bar; it does not mean that confirmation always comes if you wait.

Positions of dots and lines

Dots and arrows are placed on the confirmation bar at the candidate price. Even if a mark is outside that bar's candle high/low, this is because it represents a past candidate price.

What it cannot measure

It does not judge future turns, rebound probability, profit targets or trade timing. It does not show the latest candidate that has not yet been confirmed, or the forming leg.

4

Situations for reading the display

A high record was added

Indicator
1 red down arrow is added and the orange-red level is updated.
Cross-check
Look separately at the bar that made that price and the later confirmation bar where the arrow was placed.
Check
Record under which conditions the high was confirmed.
Caution
A down arrow is not a sell instruction, nor a prediction of a peak.

A low record was added

Indicator
A green up arrow is added and the gray level is updated.
Cross-check
Cross-check the position of the past low price relative to the current price.
Check
Observe the update order and the ranges of peaks and troughs.
Caution
An up arrow is not a buy instruction, nor a guarantee of a bottom.

A level stays unchanged for a long time

Indicator
The dotted lines of the last high and low continue horizontally.
Cross-check
Check the settings and history to see whether a new candidate has met the confirmation conditions.
Check
Distinguish between the value not changing and the price feed stopping.
Caution
The orders supporting the dotted line and the actual strength of resistance are not measured.

Compare different settings

Indicator
Changing Depth or Backstep changes the confirmation times and the count.
Cross-check
Compare on a separate chart with the same symbol, timeframe and display range.
Check
Note the original settings and check the difference 1 item at a time.
Caution
Do not conclude the effect of 1 item alone from a published example in which several inputs were changed.
5

Steps for checking the display

1

Check the timeframe and price type

This product uses only the current chart's timeframe. First check whether it is High And Low or Close.

2

Separate the times of the candidate and the mark

Rather than looking for the high/low of the bar with the mark, cross-check the candidate bar that made the mark's price in the past.

3

Check the confirmation conditions

It works by waiting until the extreme of the opposite Depth range, a distance exceeding Deviation and at least Backstep bars elapsed are all in place.

4

Compare the held levels with the current price

The dotted line is the last confirmed value. It is not updated until the next confirmed value appears. Do not replace trading decisions with the display alone; also check other information.

6

Installation and checking the package contents

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

Range for extremes

English item name
Depth (bars, 2 to 1000)
Input name
InpDepth
Default
12
Allowed range
Integer 2–1000
Description
Default 12. Compares the highs and lows of the most recent Depth bars including the current check bar. Tied extremes also meet the condition.

Price difference required for confirmation

English item name
Deviation (points, 0 to 100000)
Input name
InpDeviation
Default
5
Allowed range
Integer 0 to 100000 points
Description
Default 5. The price-difference condition is met when the difference between the candidate and the opposite-side price exceeds the specified points × the symbol's smallest display unit. Being equal is not enough. It is not in pips.

Minimum bars elapsed since the candidate

English item name
Backstep (bars, 0 to 1000)
Input name
InpBackstep
Default
3
Allowed range
Integer 0 to 1000
Description
Default 3. When the candidate is updated by a new high/low, counting restarts from that bar. It does not restart for a candidate at the same value.

Price used for calculation

English item name
Price
Input name
InpPrice
Default
High And Low
Allowed range
High And Low / Close
Description
High And Low uses the highs and lows; Close uses the close for both. It is not a setting that changes the chart's line type.

Use closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
Default true. The forming bar does not confirm a new vertex, and the 2 levels are carried over from the previous bar. With false, marks also appear on the forming bar, but they can change or disappear until the bar closes.

Brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Switches only the display and does not change the calculation.

Brand position

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Allowed range
Four corners
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

Scope that stays fixed

When normal updates continue with the same settings and the same price history, dots on confirming bars that have already closed are not moved to another bar afterward. If the conditions of history additions or corrections, settings changes or recalculation change, results may change.

The blue line is added later

Even if the confirmed dots themselves do not change, the line between the 2 dots is drawn only once the next dot is formed. The segment was not necessarily visible at the time of each intermediate bar.

Difference from the standard ZigZag

This is a proprietary method that uses Depth, Deviation and Backstep as confirmation conditions. Even with the same values entered, the number, prices and times of vertices do not necessarily match the standard ZigZag.

Unit of points

For example, if the smallest displayed unit is 0.00001, 5 points is 0.00005; if it is 0.0001, it is 0.0005. Check the number of digits of the symbol.

Site version without authentication

Does not require an account number or license file. It is a display-only indicator for MT5 and does not place or close orders.

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 lines or marks appear

They do not necessarily appear with only Depth bars of history. After the first candidate is held, the opposite-side confirmation condition is required. The blue line needs at least 2 points.

One of the levels is missing

In the initial interval where the high and low have not both been confirmed yet, one or both levels are empty.

No mark appears on the current bar

This is normal with Closed Bars Only=true. Dots shown after setting it to false are not yet confirmed records.

Loading is refused

Check the integer ranges: Depth 2 to 1000, Deviation 0 to 100000, Backstep 0 to 1000.

Does not match the standard points

This product places marks at the time of confirmation, and its confirmation rules also differ. It cannot be used as a replacement for the past vertices of the standard ZigZag.

Marks are away from the candles

The past candidate price is shown on the confirmation bar. Check time and price separately, and if it is at the edge of the screen, adjust the display range or the price scale.

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

State and handling of ties

A candidate is taken from a new high/new low in the first Depth range. If both are met at the same time the first time, the high side takes priority. Candidate updates occur only on a strict break above the high or below the low. On a bar that updated the candidate, the opposite vertex is not confirmed on that same bar.

Details of the confirmation conditions

While a high candidate is held, on a bar that does not update that candidate, 3 conditions are checked: the low (the close if Close) is less than or equal to the lowest low of the most recent Depth bars, the distance from the candidate exceeds Deviation×point, and at least Backstep bars have passed since the candidate. The low side is the reverse.

Meaning of the outputs

Display buffers are 0: blue line of confirmed points, 1: red high mark, 2: green low mark, 3: dotted line of the last high, 4: dotted line of the last low. Empty and 0 are different. It does not provide recommended values for trading or performance results.

Scope verified and limitations

The published screens are display examples with fixed conditions. Performance and appearance on every symbol, history and terminal environment are not guaranteed. It has no notifications, Fibonacci, multi-timeframe layers, or display of standard ZigZag candidates.