MT5 indicators← Fractal Volume Classes 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

Fractal Volume Classes

Compares the tick volume around a confirmed peak or trough, and the range per unit of volume, with the previous opposite peak or trough, and classifies them with dots in 4 colors. The dots are shown on the bar where confirmation is possible, not at the center of the peak or trough.

Indicator name: Fractal Volume ClassesMetaTrader 5Price chart

Confirm the peak/trough shape, then classify on the 2 axes of volume and range

The dot's price is the candidate high or lowCandidate centerConfirmed barConfirmed R bars later
Schematic diagram of how to read it. This is not an actual terminal screen.
1

4 classes: green, red, gray and blueThe classes are Green, Squat, Fade and Fake. Green is not to be read as buy, nor red as sell.

2

The comparison target has conditionsThe search goes toward older bars, and if a peak or trough of the same side comes first, no class is assigned. If the opposite side comes first, it is compared with those values.

3

Horizontal and vertical mean different thingsThe horizontal position is the confirmed bar, and the price is the candidate high or low with the distance added or subtracted.

Uses tick volumeDefault is closed bars only4 classes × high and low
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
Peak/trough rule / Fractal Rule
InpRule
MT4 Forms Of 5 To 9 Bars (2 bars after) → Highest Or Lowest Of The Window (equal allowed)
Comparison bars on each side / Bars On Each Side (Window rule, 1 to 50)
InpBars
2 → 5
Volume comparison percentage / Volume Change Percent (1 to 1000)
InpPercent
100 → 110
Distance to offset the dot / Distance From The High Or Low (points, 0 to 10000)
InpDistance
0 → 5
Closed bars only / Closed Bars Only
InpClosedBarsOnly
true → false

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 settingsInpRule = MT4 Forms Of 5 To 9 Bars (2 bars after) / InpBars = 2 / InpPercent = 100 / InpDistance = 0 / InpClosedBarsOnly = true
Fractal Volume Classes default settings
Example with the default 5- to 9-bar pattern, ratio 100, distance 0 and closed bars only. The 4 colors of dots are differences in classification, not trading directions.
View the screen in detail at full size
Fractal Volume Classes default settings (actual size)
Settings change exampleInpRule = Highest Or Lowest Of The Window (equal allowed) / InpBars = 5 / InpPercent = 110 / InpDistance = 5 / InpClosedBarsOnly = false
Fractal Volume Classes settings change example
An example changed to Window, 5 bars on each side, percentage 110, distance 5 points and Closed Bars Only=false. Dots are placed 5 bars after the center, and the latest dot may change until the bar closes. There are no gray dots in this visible range.
View the screen in detail at full size
Fractal Volume Classes 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

What to look at

The relation between the volume around the candidate and total range ÷ total volume.

When it is known

With the default shape, 2 bars after the center; with Window, the specified number of bars after. With true, it waits for that bar to close.

What it does not show

It is not the 0 to 100 value of a general Money Flow Index, nor the quantity of buyers or sellers.

3

What it measures

The total volume V before and after the candidate and total range ÷ V are compared with the previous opposite candidate.

Green (green)

With percentage 100, the class where volume increased and range per unit of volume also increased.

Squat (red)

With percentage 100, the class where volume increased and range per unit of volume decreased.

Fake (blue)

With percentage 100, the class where volume decreased and range per unit of volume increased.

Fade (gray)

With percentage 100, the class where both volume and range per unit of volume decreased.

4

Situations for reading the display

No dot even though there is a peak or trough

Indicator
Whether a class is assigned
Cross-check
Comparison target, volume and threshold
Check
Also check whether the same side was found first
Caution
This product does not show all fractals.

High and low dots on the same bar

Indicator
Upper and lower classes
Cross-check
The candidate's high and low
Check
Check each side separately
Caution
With equal values under Window and similar cases, both conditions can be met.

Raised the percentage to 110

Indicator
Number and colors of dots
Cross-check
Volume of the previous candidate
Check
Check that it means 10% or more and uses a strict inequality
Caution
At a value exactly equal to the boundary, the condition is not met.

The latest dot disappeared

Indicator
Dot on the forming bar
Cross-check
Closed Bars Only
Check
If false, distinguish it as a provisional display
Caution
With true, the latest bar is left blank and the dot is shown after it closes.
5

Steps for checking the display

1

Apply with the defaults

First, with percentage 100 and closed bars only, check the 4 color classes.

2

Check the candidate

Look at the high or low 2 bars before the dot. With Window, the specified number of bars before.

3

Check the comparison target

Look for the older opposite peak or trough, and check that there is no peak or trough of the same side in between.

4

Compare one item at a time

On a separate chart, change only the percentage or the rule. Colors are not a guarantee of future price movement.

6

Installation and checking the package contents

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

Peak/trough rule

English item name
Fractal Rule
Input name
InpRule
Default
MT4 Forms Of 5 To 9 Bars (2 bars after)
Allowed range
MT4 Forms / Window
Description
The default uses the 2 newer-side bars and extended shapes on the older side. Window judges the highest or lowest of the specified number of bars before and after the center, including equal values.

Comparison bars on each side

English item name
Bars On Each Side (Window rule, 1 to 50)
Input name
InpBars
Default
2
Allowed range
Integer 1 to 50
Description
Used with Window. The volume window is also 2B+1 bars, with B bars before and after. With the default MT4 Forms, R=2 regardless of the input, but out-of-range values are rejected.

Volume comparison percentage

English item name
Volume Change Percent (1 to 1000)
Input name
InpPercent
Default
100
Allowed range
Integer 1 to 1000
Description
Default 100. With 110, current V>previous V×1.10 is checked as the increase side and current V×1.10<previous V as the decrease side. For the caution about values below 100, see the technical information.

Distance to offset the dot

English item name
Distance From The High Or Low (points, 0 to 10000)
Input name
InpDistance
Default
0
Allowed range
Integer 0 to 10000 points
Description
Added to the high and subtracted from the low. A point is the unit of the symbol's smallest displayed digit and is not necessarily the same as a pip.

Closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
With the default true, no dot is placed on the latest bar. With false, it is judged even while the last bar used for confirmation is forming, and dots and colors can change.

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

Quantities compared

Uses tick volume, not actual traded volume or value. M is the sum of high−low of each bar in the window divided by V.

When not classified

There may be no dot when there is nothing to compare with, the same side comes first, the window is insufficient, V is 0, or the value falls on a condition boundary.

Dot position

By default, dots are placed 2 bars after the center c, and Window at c+B. Because the price of a dot is the high or low of the candidate, it may be away from the candle of that bar.

Changes to history and settings

The case where subsequent bars increase with the same history and settings is different from filling in or correcting the history or changing the start position. Recalculating with changed history or settings may also change past display.

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

A needed color does not appear

There may be no candidates of that class in the visible range. The number of colors is not always 4.

An input was rejected

Check that bars on each side is an integer from 1 to 50, the percentage from 1 to 1000 and the distance from 0 to 10000.

Dots are cut off at the edge

Adjust the price scale and the visible range. Also check the distance.

Values differ from the Money Flow Index

This product's range ÷ volume is a different calculation from the general MFI shown on a 0 to 100 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

Classification formulas and order of priority

Let q=percentage/100, the current values be V0 and M0, and the comparison target be V1 and M1. Squat is V0>V1q and M0<M1, Green is V0>V1q and M0>M1, Fake is V0q<V1 and M0>M1, and Fade is V0q<V1 and M0<M1. The first one met in the above order is adopted.

Percentage below 100

The volume conditions of the increase side and the decrease side can overlap. In that case Squat or Green, which is checked first, is adopted, so it is not necessarily a simple 4-way split of increase and decrease.

Searching for the comparison target

Bars older than the center are checked in order, and the search ends if a fractal of the same side is found. If the opposite side is found before that, it is compared. For a target where both sides are met on the same bar, the same-side judgment takes priority.

Calculation windows and display series

The windows for V and M are from c−R to c+R. Default R=2; with Window, R=B. There are 8 series, Green high/low, Squat high/low, Fade high/low and Fake high/low, and dots are not moved back to past centers.