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
Damiani Volatmeter
Compares the ratio of short-term to long-term ATR with a baseline made from the ratio of standard deviations. You can also choose whether to add a lag correction.
Schematic diagram of how to read it. This is not an actual terminal screen.
1
Green is the ATR ratioA line of short-term ATR÷long-term ATR, with an optional lag correction added.
2
Silver is the comparison baselineThe value of Threshold Base minus short-term SD÷long-term SD. It is not a fixed horizontal line.
3
Reddish brown is the part above the baselineOverlays the part where the green value is strictly above the baseline. It does not appear when they are equal. It is not a judgment of whether to trade.
Range and volatility comparisonMT5 onlyColors and levels are not trading instructions
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
Short-term period / Short Period InpViscosity13 → 20
Long-term period / Long Period InpSedimentation50 → 100
Base value / Threshold Base InpThreshold1.3 → 1
Correction coefficient / Lag Factor (0 to 0.7) InpLagFactor0.5 → 0.6
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.
Change example: short-term 20, long-term 100, base 1.0, correction coefficient 0.6.View the screen in detail at full size
Published example: M1. This is an example to explain the display. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the included version has display settings for the brand text and QR code. The example with changed settings is not a set of recommended values. Details can be checked in the full-size view. Also check the vertical axis and units of the separate window. Except for products with a fixed scale, the scale changes with the settings and the displayed range.
2
How to read it in 30 seconds
Green is the ATR ratio
A line of short-term ATR÷long-term ATR, with an optional lag correction added.
Silver is the comparison baseline
The value of Threshold Base minus short-term SD÷long-term SD. It is not a fixed horizontal line.
Reddish brown is the part above the baseline
Overlays the part where the green value is strictly above the baseline. It does not appear when they are equal. It is not a judgment of whether to trade.
3
What it measures
Compares the ratio of short-term to long-term ATR with a baseline made from the ratio of standard deviations. You can also choose whether to add a lag correction.
ATR and SD are separate comparisons
ATR is the simple average of the true range; SD is the standard deviation of the Typical price around an LWMA center.
The correction uses past displayed values
If Lag correction is true, coefficient×(ratio line 1 bar ago−ratio line 3 bars ago) is added.
4
Situations for reading the display
Read the default display
Indicator
A line of short-term ATR÷long-term ATR, with an optional lag correction added.
Cross-check
Check the candle and vertical axis for the same bar.
Check
First check the method, periods and units.
Caution
It is not a signal that shows a trading direction or a future price.
Check the settings differences between the default screen and the change example.
Check
Use separate charts and compare on the same timeframe and history.
Caution
Changing the method can change even the units.
Investigate blank or equal-value bars
Indicator
If the long-term ATR is 0, the ratio line is not calculated; if the long-term SD is 0, the baseline is not calculated. Reddish brown appears only on bars where both are valid and the ratio is above.
Cross-check
Check the history start position and the periods needed for the calculation.
Check
Distinguish no value from the number 0.
Caution
Do not judge it a fault only because the screen is blank.
5
Steps for checking the display
1
Apply with the defaults
Load history on the same symbol and timeframe, and first check the default settings.
2
Read the units and colors
A line of short-term ATR÷long-term ATR, with an optional lag correction added.
3
Change 1 condition at a time
Refer to the published change example and confirm how the inputs correspond to the display. For change examples with multiple conditions, separating each condition lets you follow the differences.
4
Compare on closed bars
The value on the current bar changes. Compare numbers at the same past time.
6
Installation and checking the package contents
Included file
Purpose / location
TRI_Damiani_Volatmeter.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 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.
Short-term period
English item name
Short Period
Input name
InpViscosity
Default
13
Allowed range
Integer 1–1000
Description
Short-term period for ATR and standard deviation.
Long-term period
English item name
Long Period
Input name
InpSedimentation
Default
50
Allowed range
Integer 1–1000
Description
Long-term period for ATR and standard deviation. It is not automatically adjusted to a value longer than the short-term period.
Base value
English item name
Threshold Base
Input name
InpThreshold
Default
1.3
Allowed range
0–10 (finite value)
Description
The baseline is made by subtracting the SD ratio from this value.
Lag correction
English item name
Lag correction
Input name
InpLag
Default
true
Allowed range
true / false
Description
If true, adds a correction that uses past ratio line values.
Correction coefficient
English item name
Lag Factor (0 to 0.7)
Input name
InpLagFactor
Default
0.5
Allowed range
0–0.7 (finite value)
Description
Strength of the lag correction. Specify it within the allowed range even when the correction is disabled.
Show brand and QR
English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
true shows the brand text and QR. When several products from the same medium are used on the same chart, the display is shared.
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 the lower left. Move it if displays overlap.
Horizontal margin
English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer (pixels)
Description
Horizontal margin from the reference corner. Negative numbers are treated as 0.
Vertical margin
English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer (pixels)
Description
Vertical margin from the reference corner. Negative numbers are treated as 0.
8
Usage specifications
Current bar
Values on the unclosed bar change as the price updates. Do not confuse them with closed bars.
Differences between history and data feeds
Values change with the symbol, timeframe, data provider and loaded history range. Compare under the same conditions.
Brand display
The packaged version has a function that shows Produced by Trilogy Inc. and a QR code linking to https://www.trgy.co.jp/. The position and other details can be changed in additional settings. There is no account authentication.
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
Only some of the lines are missing
If the long-term ATR is 0, the ratio line is not calculated; if the long-term SD is 0, the baseline is not calculated. Reddish brown appears only on bars where both are valid and the ratio is above.
The ratio line differs from a simple ATR ratio
Check the Lag correction setting. With the correction on, past values are also reflected.
The display is crowded
Use separate charts, or change the brand position and margins. Increase the height of the separate window, and also refer to the actual-size images.
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
Center of the standard deviation
Typical=(H+L+C)/3. With the LWMA of each period as the center, the sum of squared deviations is divided by the period and the square root is taken.
Initial correction
If the past corrected ratio to be referenced does not yet exist, that referenced value is calculated as 0. It depends on where the history starts.