Exponential True Range
Exponentially smooths the range including price gaps, and reads the size of price movement with 1 line. It is not an indicator that shows an upward or downward direction.
Widening range → blue line up or down → confirm with the price too
The blue line risesThe recent range is widening. It does not mean that buyers or sellers are dominant.
The blue line fallsThe recent range is narrowing. It does not tell the direction of the next move.
Read in price units0.0010 is a price difference for that symbol. It is not a value automatically converted to pips.
MT5 display and examples of changed settings
Only the price chart and this product are shown. Compare the default settings and the example of changed settings with the same symbol, timeframe and display range.
View the screen in detail at full size
View the screen in detail at full size
Example shown: synthetic data, 1-minute timeframe (M1). This is not the price movement of an actual symbol. The changed settings are an example to show the difference, not recommended values. You can enlarge it from "View the screen at full size".
How to read it in 30 seconds
What it measures
Measures the size of the range including price gaps
From the larger of the bar's high and the previous bar's close, it subtracts the smaller of the low and the previous bar's close. This true range is smoothed with an exponential moving average. Because the smoothing method differs from a simple average or Wilder's ATR, the values differ even with the same period.
The blue line rises
The recent range is widening. It does not mean that buyers or sellers are dominant.
The blue line falls
The recent range is narrowing. It does not tell the direction of the next move.
Read in price units
0.0010 is a price difference for that symbol. It is not a value automatically converted to pips.
When to use it in decisions
Read in the order "indicator → confirm with price → consider → conditions that do not apply". This is not a trading instruction; it is a way to organize the material for your decisions.
Widening range
- Indicator
- Cross-check the rise of the line against the widening of the price's highs and lows. The line also rises on a sudden price gap, so it does not only mean that a trend has started.
- Price
- Look at the widening of the price's highs and lows and at price gaps.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not decide on an uptrend from a rise of the line alone.
Quiet market
- Indicator
- A falling line is a clue that the range is narrowing. Even at a low level, a sudden change afterward cannot be ruled out.
- Price
- Watch the price range and any sudden change that follows.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not decide from a low value alone that the market will stay quiet.
Comparing symbols
- Indicator
- Do not directly compare the values of symbols with different price units. Look at how the value changes on the same symbol and the same timeframe.
- Price
- Compare on the same symbol and the same timeframe.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not directly compare symbols with different price units.
Observation while holding a position
- Indicator
- An aid for checking whether the range has changed from what you expected. It does not automatically calculate a stop-loss price or order size.
- Price
- Check whether the price is within the range you expected in advance.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not use it as an automatic stop-loss level or position-size calculation.
Actual decision steps
Choose the symbol and timeframe
Choose the symbol and timeframe and apply the indicator to the chart.
Read the reference display
First, with a period of 14, compare the price's highs and lows with the rises and falls of the blue line.
Cross-check against the price evidence
Confirm the direction with other information such as the price chart, and do not decide trades on this line alone.
Pay attention to the settings and the current bar
If you change the period, reread the display on the assumption that the values will not be the same.
What to decide before entering
This product does not place or close orders. If you trade, decide your reasons, acceptable loss and exit conditions separately, and do not leave them to the indicator alone.
What to check while holding a position
Give priority to your plan made in advance and to the price movement. Do not postpone a stop-loss or exit just because the indicator moves up or down.
Installation and checking the package contents
| Included file | Location and purpose |
|---|---|
| TRI_Exponential_True_Range.ex5 | The indicator itself for MetaTrader 5. Place it in MQL5/Indicators. |
| TRI_Exponential_True_Range_Manual.html | The manual for this product. Open it in a browser. |
Extract the ZIP first. MT5 only. This product does not require placing a license file or account authentication. Use the files without renaming them.
Open the data folder
In MT5, select "File → Open Data Folder".
Place the indicator file
Place the included TRI_Exponential_True_Range.ex5 in MQL5/Indicators.
Place it on a chart
Refresh the Navigator or restart MT5, and apply this product to a chart of the symbol and timeframe you want.
Check the settings and display
Check with the default settings first. To change them, open this product's properties from the Indicators List. For the required number of history bars and where it is displayed, see Chapters 7 and 8.
To remove it, select this product in the chart's Indicators List and delete it.
Settings
There is 1 calculation input. Open the properties from the Indicators List and change it there.
EMA Period
- Input name
- InpPeriod
- Default
- 14
- Allowed range
- An integer from 1 to 10000. Out of range, the indicator cannot be applied.
- Description
- A larger value generally makes changes smoother; a smaller value reacts faster to the recent range. With 1, the value is the true range of that bar.
Line color and width
- Default
- DodgerBlue, width 2. Shown in a subwindow.
- Where to change
- You can adjust it on the Colors tab of the properties.
- How to read
- The height of the line represents the range in price units.
Usage specifications
Start of drawing
Display starts from the bar where a period's worth of history is available.
Initial value
The high minus low of the oldest loaded bar is used as the starting value. If the starting point of the history changes, the values may also change because of the initial value.
Current bar
The value changes as the high and low are updated. Read it separately from closed bars.
Reference
The value is 0 or greater. There are no fixed overbought or oversold levels.
When removing
Select this product in the Indicators List and delete it. This product has no recovery procedure using a license file.
Troubleshooting and usage notes
No lines appear
Check that the period is valid (1–10000) and that there is at least that much history.
The value differs from the standard ATR
The exponential smoothing coefficient is 2÷(period+1). Do not assume the values equal the standard ATR.
The numbers are small
The values are in price units. Check them in the Data Window as well.
Notes on use
- The indicator is information calculated from past and current prices. It does not guarantee profit, the future direction or the success of a trade.
- It does not place orders, close positions, send alerts or send email.
- Changing the period, symbol or timeframe also changes the values. Distinguish changes in the current bar from recalculation caused by added or corrected history.
Technical information and specification details
Calculation approach and display specifications
The EMA starts from the TR of the oldest bar. After that, E(t)=αTR(t)+(1−α)E(t−1). The oldest bar has no previous close, so high−low is used.
| Item | Content |
|---|---|
| Version | 1.00 |
| Platform | MetaTrader 5 |
| Display | 1 blue line in a subwindow |
| Unit | Price units |
| Copyright notice | Trilogy Inc. |
Status of the general reading
The situations and steps on this page are examples of linking calculated values to observation of the price. They do not guarantee the future direction, full compatibility, non-repainting or a light calculation load.