MT5 indicators← Price Statistics Oscillator 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

Price Statistics Oscillator

Reads recent prices with five measures: efficiency ratio, fractal dimension, entropy, Z-score and Fisher Z. It shows the selected statistic, not a prediction of direction.

Statistics of price progress and dispersionMetaTrader 5Separate windowSite edition, no account authentication

Statistics of price progress and dispersion

STEP 1Price window
STEP 2Five statistics
STEP 3Read according to the unit
1

Default efficiency ratio0 to 1. How far the price moved from the start point to the end point compared with the back-and-forth movement. It has no up or down sign.

2

Z and FisherZ is in units of standard deviation from the mean; Fisher is its transform and smoothing. They are not %.

3

2nd lineA simple average for Entropy and a slow exponential average for Fisher. Not drawn in other modes.

The figure explains the processDisplay only, no order functionsCreated by Trilogy
1

Checking the display

Settings change example: Mode: Fractal Dimension / Period: 10 → 30

Everything not listed stays at the default. On a PC the order is 'Default, Change example' from left, and on a smartphone from top. The change example is not a set of recommended values.

Default settings
Price Statistics Oscillator default screen
Defaults: Efficiency Ratio with period 10. The 2nd value 0 in the heading is a hidden series.
Settings change example
Price Statistics Oscillator change example
Changed to Fractal Dimension, period 30. The vertical axis and the reference line 1.5 mean something different from the default.

The published images are display examples from before the brand display was added. The product has display settings for the brand text and QR code, but the screen with the brand display has not yet been verified. The timeframe shown in the image does not indicate how often this appears on that timeframe in practice. Marks at the edges may be cut off outside the screen.

Check all inputs of the change example

Mode = Fractal Dimension、Period = 30、Signal Period (Entropy average, Fisher fast average) = 5、Slow Period (Fisher slow average) = 13、Deviation (Fisher Z divisor) = 3、Fractal Dimension Points = Period - 1 points (log of 2 x Period)、Price = close。

The 4 brand display items are not included in the capture.

2

30-second guide

Default efficiency ratio

0 to 1. How far the price moved from the start point to the end point compared with the back-and-forth movement. It has no up or down sign.

Z and Fisher

Z is in units of standard deviation from the mean; Fisher is its transform and smoothing. They are not %.

2nd line

A simple average for Entropy and a slow exponential average for Fisher. Not drawn in other modes.

3

What it measures

Reads recent prices with five measures: efficiency ratio, fractal dimension, entropy, Z-score and Fisher Z. It shows the selected statistic, not a prediction of direction.

Efficiency Ratio

|current price−price N bars earlier| ÷ the sum of the absolute price changes over N intervals. If there is no movement and the denominator is 0, it is 0.

Fractal Dimension

Calculates the dimension from the path length of the price normalized by the high and low of the period. The number of points and the logarithmic denominator are chosen from 2 methods. 1.5 is a reference line, and a flat price window gives 0.

Entropy

This product's definition uses N+1 log returns and divides the mean and RMS by N. If 0<RMS<1 does not hold, the value is 0. Because it uses logarithms, it assumes positive prices, and it differs from a general % of information content.

Z-Score, Fisher Z

Z=(price−SMA)/population standard deviation; if the deviation is 0, it is 0. Fisher divides Z by Deviation, limits it to ±0.99, applies a log transform and draws its fast and slow EMAs.

4

Reading scenarios

When you want to classify the display

0 to 1. How far the price moved from the start point to the end point compared with the back-and-forth movement. It has no up or down sign.

When you want to switch conditions and compare

Use the same symbol, timeframe and history, and first change only one input. Use separate charts for comparison, and check the Mode and vertical axis of each screen.

The display differs from what you expected

A high Efficiency Ratio does not mean a rise. It is also high when the price moves in one direction downward.

This display alone does not decide whether to trade. The colors, lines and arrows represent the calculation conditions in this manual; they are not a forecast of future price movement or an instruction to buy or sell.

5

Check procedure

1

Start from the defaults

At first, do not change the inputs; cross-check the colors and display location against the default screen above.

2

Distinguish the timing of bars

The value of the latest forming bar changes. There is no Closed Bars Only input. Read it separately from bars after they close.

3

Change only the target condition

Mode: Fractal Dimension / Period: 10 → 30. Comparison images may include multiple changes.

4

Check values and units

The angle of lines and visible differences change with the screen zoom. Check the settings together with the price scale and the vertical axis of the separate window.

6

Installation and package contents

ZIP contentsLocation / role
TRI_Price_Statistics_Oscillator.ex5MQL5/Indicators in MT5. Only 1 item: the indicator itself.

The manual opens on the product's own page on the site. The ZIP does not include the manual or source code. It is for MT5 only and cannot be used in MT4. The site edition has no account authentication or license file settings.

1

Extract the ZIP

Prepare the extracted EX5. Do not place it while it is still compressed.

2

To the MT5 data folder

Place the EX5 in MQL5/Indicators via 'File → Open Data Folder'.

3

Apply to a chart

Refresh the Navigator or restart the terminal, and apply it to the target chart. DLL permission is not required.

4

Change / remove

Change the settings or remove it from the chart's 'Indicators List'. Enabling automated trading is not required.

7

Settings

There are 11 items in total: 7 product-specific items and 4 brand display items. English names are based on the input definitions. Enter numbers in half-width characters. Keep inputs that the mode does not use within range as well.

Statistic mode

English item name
Mode
Input name
InpMode
Default
Efficiency Ratio
Options / range
Efficiency Ratio / Fractal Dimension / Entropy / Z-Score / Fisher Z
Meaning and notes
Selects the quantity shown and its unit.

Period

English item name
Period
Input name
InpPeriod
Default
10
Options / range
3 to 1000 bars
Meaning and notes
The statistics window. The efficiency ratio uses N intervals; Entropy uses N+1 returns.

Signal / fast average period

English item name
Signal Period (Entropy average, Fisher fast average)
Input name
InpSignalPeriod
Default
5
Options / range
1–1000 bars
Meaning and notes
The SMA for Entropy and the fast EMA for Fisher.

Slow average period

English item name
Slow Period (Fisher slow average)
Input name
InpSlowPeriod
Default
13
Options / range
1–1000 bars
Meaning and notes
The slow EMA for Fisher Z.

Fisher divisor

English item name
Deviation (Fisher Z divisor)
Input name
InpDeviation
Default
3.0
Options / range
Greater than 0 to 100
Meaning and notes
Z is divided by this value before the transform.

Dimension point method

English item name
Fractal Dimension Points
Input name
InpFdiPoints
Default
Period - 1 points (log of 2 x Period)
Options / range
Period - 1 points (log of 2 x Period) / Period points (log of 2 x (Period - 1))
Meaning and notes
N−1 points with denominator ln(2N), or N points with denominator ln(2(N−1)).

Price used

English item name
Price
Input name
InpPrice
Default
Close (close)
Options / range
Close (close) / Open (open) / High (high) / Low (low) / Median (midpoint of high and low) / Typical (average of high, low and close) / Weighted (average of high, low and 2 times the close)
Meaning and notes
Default is the close. Entropy requires positive prices.

Brand / QR display

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Options / range
true / false
Meaning and notes
This is a display-only setting. It does not change calculation results. If another product on the same chart has the display enabled, the shared display remains.

Brand corner

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Options / range
Top left / Bottom left / Bottom right / Top right
Meaning and notes
The chart corner where the brand text and QR code are placed.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Options / range
Corrected to 0–4000 px
Meaning and notes
Horizontal distance from the selected corner. Negative values are corrected to 0, and values above 4000 to 4000.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Options / range
Corrected to 0–4000 px
Meaning and notes
Vertical distance from the selected corner. If the screen is narrow, adjust the position or the value.
8

Usage specifications

Forming bar

The value of the latest forming bar changes. There is no Closed Bars Only input. Read it separately from bars after they close.

History and recalculation

Settings changes, additions to or corrections of the history, and reloading redo the calculation. This is not a guarantee that "closed bars never change under any circumstances".

Brand display

A common display is shared among products of the same medium on the same chart. If several are loaded, the settings of the registration that enabled the display first are used, so changing one may not change the appearance.

For on-screen display only

This product does not place orders or trade automatically. It does not guarantee accuracy as a trading signal or profits.

9

Troubleshooting

Points that are easy to get confused about in this product

A high Efficiency Ratio does not mean a rise. It is also high when the price moves in one direction downward.

No display

Check whether the required number of history bars is available, whether the forming bar is hidden, and the input ranges and mode. Also check the terminal's Experts tab for input errors.

The display does not update

Check the price feed and the connection status. Changing settings for an unused mode does not change the display.

Looks different from the image

The appearance changes with the symbol, history, timeframe, inputs and scale. Even when compared with the full-size image, the marks are not necessarily at the same positions or of the same count.

10

Specification details

Specification note 1

The latest bar changes, and there is no closed-bars-only switch. The Fisher EMAs depend on the start of the history.

Specification note 2

There is no processing that always limits the dimension value to the range 1 to 2. Do not read the values on screen as a probability that a trend will occur.

Verified scope

The published images and values were checked with the product before the brand display was added. The screen display of the product with the brand display has not yet been verified. Whether the values match other indicators with the same name, the Data Window display, and behavior with long histories or with symbols that have different price digits have not been verified.

Products with a price selection

Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. The unit of periods is the number of chart bars.