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
Smoothed ATR Plus
Shows the true range with 4 methods: Hull style, T3, NonLag, and the average since the start of the day. The averaging method and the required history differ by method.
Schematic diagram of how to read it. This is not an actual terminal screen.
1
The blue line is the value of the selected methodThe default is Hull style: 2×short-term ATR−long-term ATR.
2
The red-orange line is a simple averageIf Signal Period is 1 or more, an SMA of the blue values is added. Hidden at 0.
3
Some methods also give negative valuesHull style and NonLag include differences or negative weights, so unlike a normal ATR they are not necessarily always non-negative.
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
Method / Method InpMethodHull style → NonLag of the true range
T3 period / NonLag length / T3 Period / NonLag Length InpSmooth8 → 14
Signal period / Signal Period (0 = none) InpSignal4 → 8
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: Hull type, ATR14, Signal4.View the screen in detail at full size
Example of changed settingsInpMethod = NonLag of the true range / InpSmooth = 14 / InpSignal = 8
Change example: NonLag method, length 14, Signal 8. ATR Period is not used in this method's calculation.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
The blue line is the value of the selected method
The default is Hull style: 2×short-term ATR−long-term ATR.
The red-orange line is a simple average
If Signal Period is 1 or more, an SMA of the blue values is added. Hidden at 0.
Some methods also give negative values
Hull style and NonLag include differences or negative weights, so unlike a normal ATR they are not necessarily always non-negative.
3
What it measures
Shows the true range with 4 methods: Hull style, T3, NonLag, and the average since the start of the day. The averaging method and the required history differ by method.
Hull and T3
Hull is 2×ATR(floor(N/2), minimum 1)−ATR(N). T3 smooths the ATR with a combination of 6 EMA stages and coefficients.
NonLag and the daily average
NonLag applies positive and negative weights to TR. The daily method is the average of TR from the first bar of the day, as delimited by the server date.
4
Situations for reading the display
Read the default display
Indicator
The default is Hull style: 2×short-term ATR−long-term ATR.
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.
Compare by changing the settings
Indicator
Change example: NonLag method, length 14, Signal 8. ATR Period is not used in this method's calculation.
Cross-check
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
The weight sequence is 5×Length−1 bars long. The main line is blank until that many TR values are available.
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
The default is Hull style: 2×short-term ATR−long-term ATR.
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_Smoothed_ATR_Plus.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.
Method
English item name
Method
Input name
InpMethod
Default
Hull style
Allowed range
Hull style/T3 of the ATR/NonLag of the true range/Since the first bar of the day
Description
Select one of the 4 methods.
ATR period
English item name
ATR Period
Input name
InpAtrPeriod
Default
14
Allowed range
Integer 1–1000
Description
The source ATR period for Hull and T3. It has no effect on NonLag or the daily method.
T3 period / NonLag length
English item name
T3 Period / NonLag Length
Input name
InpSmooth
Default
8
Allowed range
Integer 3–200
Description
Determines the T3 smoothing coefficient or the length of the NonLag weight sequence.
T3 factor
English item name
T3 Volume Factor
Input name
InpT3Factor
Default
0.7
Allowed range
0.01–1 (finite value)
Description
T3 combination coefficient. For the other methods as well, specify it within the allowed range.
Signal period
English item name
Signal Period (0 = none)
Input name
InpSignal
Default
4
Allowed range
Integer 0–1000
Description
0 hides it; at 1 or more, an SMA of the result is shown.
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
No NonLag line yet
The weight sequence is 5×Length−1 bars long. The main line is blank until that many TR values are available.
The day boundary differs from what was expected
The daily method follows the server date of the terminal's bars. It is not necessarily 0:00 Japan time.
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
T3 factor
The coefficient of each EMA is 4/(Smooth+3). The 6 stages start from the first valid ATR, and the combination of stages 3 to 6 according to Volume Factor is output.
Daily method and history
If the loaded history starts in the middle of a day, that day's average starts from that point. The TR of the initial bar is high−low.