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

ZigZag Wave Fibo

From the confirmed peaks and troughs, selects the latest wave that meets the specified height and shows 6 retracement levels.

Indicator name: ZigZag Wave FiboMetaTrader 5Price chart

2 points confirmed → height checked → levels kept with the end point at 0 and the start point at 100

Start point (older point)End point (newer point)02538.261.875100On a downward wave, up and down are reversed
Schematic diagram of how to read it. This is not an actual terminal screen.
1

The blue line joins points after confirmationIt does not reproduce the peak and trough positions of the standard ZigZag. It is shown with a delay after the actual peaks and troughs.

2

Check the red 0 and purple 100 first0 is the end point of the selected wave and 100 its start point. 0 is not always at the bottom, nor 100 always at the top.

3

Small waves are not adopted for the levelsEven if a new point forms, if that wave does not meet the height condition, the levels of an older qualifying wave continue to be used.

MT5 onlyDefault is closed bars onlyWave Height is in points
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
Range for extremes / Depth (bars, 2 to 1000)
InpDepth
10 → 20
Price difference needed to confirm a reversal / Deviation (points, 0 to 100000)
InpDeviation
5 → 0
Bars to wait from the candidate / Backstep (bars, 0 to 1000)
InpBackstep
3 → 10

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 = 10 / InpDeviation = 5 / InpBackstep = 3
ZigZag Wave Fibo default settings
Defaults: Depth 10, Deviation 5 points, Backstep 3, Wave Height 40 points. Displays the blue connecting line and 6 levels. Depending on the wave direction, the red 0 and the purple 100 swap top and bottom.
View the screen in detail at full size
ZigZag Wave Fibo default settings (actual size)
Settings change exampleInpDepth = 20 / InpDeviation = 0 / InpBackstep = 10
ZigZag Wave Fibo settings change example
Change example: Depth 20, Deviation 0, Backstep 10. In this screen, points and levels are updated less often, and the same levels continue for a long time on the right. Only these 3 items were changed.
View the screen in detail at full size
ZigZag Wave Fibo 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 both ends first

The red 0 is the newer point and the purple 100 the older point. Read the direction of the wave from the order of the horizontal lines.

Check the height condition

Wave Height is the minimum range. A past qualifying wave, rather than the last short wave, may remain.

Not a guarantee of reversal

Price merely touching a level does not mean that a reversal or a trading condition has been met.

3

What it measures

Measures price position inside the wave, based on the price difference between the 2 confirmed vertices. It does not calculate future targets or reversal probabilities.

How the wave is selected

Pairs of adjacent confirmed points are checked from the newest, and the first pair whose price difference is at least Wave Height×point is selected.

6 levels

End point + (start point − end point) × ratio. The ratios are fixed at 0, 0.25, 0.382, 0.618, 0.75 and 1.

Level colors

0 is red, 25 an orange dotted line, 38.2 gold, 61.8 green, 75 a teal dotted line and 100 purple. There is no 50 level.

Update conditions

The wave is re-selected when a new point is confirmed. If there is no new qualifying pair, the same wave is kept, and the levels are blank until the first qualifying pair forms.

4

Situations for reading the display

Approaching a level

Indicator
Look at the position of the current price relative to the selected wave.
Cross-check
Also check the candle price movement and other timeframes.
Check
First check the wave's direction, height and update time.
Caution
Do not decide to trade or close a position on a touch alone.

The levels do not change

Indicator
Even if there is a recent confirmed point, small waves are not adopted.
Cross-check
Cross-check Wave Height with the range of the latest confirmed points.
Check
Check whether an older wave may be selected.
Caution
It does not necessarily mean a fault or stalled prices.

The levels change all at once

Indicator
It switched to a new qualifying wave.
Cross-check
Check the confirmation time and price of the blue points.
Check
Do not confuse the previous levels with the current wave's levels.
Caution
It does not necessarily mean price passed through those levels in order.
5

Steps for checking the display

1

Look from the defaults

First tell apart the red 0, the purple 100 and the blue connecting line.

2

Separate time from price

Points are placed not on the peak or trough bar but on the confirming bar, at the peak or trough price.

3

Compare changes one at a time

Use Wave Height to adjust the minimum range of a wave, and Depth and the others to adjust the point confirmation conditions. Use a separate chart for comparison.

4

Distinguish the forming bar

With Closed Bars Only=false, the latest point and levels can change until the bar closes.

6

Installation and checking the package contents

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

Range for extremes

English item name
Depth (bars, 2 to 1000)
Input name
InpDepth
Default
10
Allowed range
Integer 2 to 1000
Description
Default 10. Counts the chart's bars. Equal extremes meet the condition.

Price difference needed to confirm a reversal

English item name
Deviation (points, 0 to 100000)
Input name
InpDeviation
Default
5
Allowed range
Integer 0 to 100000 points
Description
The confirmation condition is met when price strictly exceeds this price difference from the candidate. A point is the symbol's smallest display unit and is not necessarily a pip.

Bars to wait from the candidate

English item name
Backstep (bars, 0 to 1000)
Input name
InpBackstep
Default
3
Allowed range
Integer 0 to 1000
Description
Checks that at least this number of bars has passed since the candidate bar. Counting restarts when the candidate is updated.

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 high and low; Close uses only the close.

Minimum range of the adopted wave

English item name
Wave Height (points, 0 to 100000)
Input name
InpWaveHeight
Default
40
Allowed range
Integer 0 to 100000 points
Description
Default 40. Requires the price difference between the 2 confirmed points to be at least this value. Making it larger may keep older waves for longer.

Judge on closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
Default true. Points are not confirmed on the latest forming bar, and existing levels are shown. With false, the latest point and levels also change during the bar.

Brand and QR

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

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

Confirmation time and vertex price

The horizontal position of a dot is the time it was confirmed, and the vertical position is the price of the past candidate. It may be away from the candle at that time.

Later addition of the blue line

When the next confirmed dot appears, a segment is added between it and the previous dot. It does not mean that a signal appeared at that time on each past bar along the segment.

When history or settings are changed

The statement that confirmed dots are not moved applies to adding bars with the same history and the same settings. It does not guarantee the same display after history corrections, additional loading or input changes.

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 appear

Enough history, confirmed points and, in addition, 2 points that meet the height condition are needed. With fewer than 2 points, the connecting line is not visible either.

0 and 100 are upside down

0 and 100 are not the low and high but the newer point and the older point. If the wave is downward, 0 comes at the bottom.

The latest blue wave does not match the levels

If the latest pair is below Wave Height, the qualifying pair before it is selected.

There are diagonal lines where the levels change

Levels join the values of each bar with a line. The diagonal segment joining the bars before and after an update does not mean that intermediate prices were calculated.

Loading is refused

Check the ranges of Depth, Deviation, Backstep and Wave Height.

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

Point confirmation conditions

On a bar that does not update the candidate, a point is confirmed when it meets an opposite-side Depth-bar extreme, a price difference strictly exceeding Deviation, and at least Backstep bars elapsed since the candidate bar. The first time, the high side takes priority, and an equal-value candidate does not move the candidate bar.

Waves and levels

The start point of a wave is the older confirmed point and the end point the newer confirmed point. The Wave Height comparison is at least (≥), and the Deviation comparison is exceeding (>). Wave judgment and point confirmation use different conditions.

Display buffers

0 is the confirmed zigzag, and 1 to 6 are the 0, 25, 38.2, 61.8, 75 and 100 levels. A blank is different from zero.

Supported scope

There are no notifications, no Fibonacci object operations, no daily RSI display and no moving average guide lines. The display examples are not a performance guarantee for all symbols and all history.