Blue
Short-term ATR ÷ long-term ATR.
Divides a short-period ATR by a long-period ATR and shows with a blue line how many times the recent price range is relative to the long-term average. If needed, an average line of the ratio can be added.
Above 1The short-term ATR is larger than the long-term ATR.
Below 1The short-term ATR is smaller than the long-term ATR.
Exactly 1Set to 1 when the 2 are equal, and also when the long-term range is 0.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-minute chart (M1). This is an example to explain the display. The settings change example is not a recommended value. Details can be checked in the full-size view. The vertical axis of the separate window is adjusted automatically for each image, so do not compare values by on-screen height alone.
Short-term ATR ÷ long-term ATR.
The reference level specified with Reference Level.
Setting Ratio MA Period to 1 or more shows the average of the ratio.
Read the relative size of the price range, separately from direction.
Both ATRs are simple averages of TR. Make Fast shorter than Slow.
The value when the short-term and long-term ATRs are equal. However, 1 is also assigned when the long-term ATR is 0.
Ratio MA is a line that further averages the blue ratio.
Changing Reference Level does not change the calculation of the ratio or its average.
Check the blue ratio and the 1.0 reference line.
Set Ratio MA Period to 1 or more and select the method.
Even when the value becomes larger, do not read it as price direction.
| Included file | Purpose / location |
|---|---|
| TRI_ATR_Ratio.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.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
There are 5 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpFastPeriodInpSlowPeriodInpMAPeriodInpMAMethodInpLevelValues and drawing change with the latest bar's high, low and close. They are also recalculated when history is added or corrected or settings change.
Compare with the same symbol, timeframe, period and loaded history. The display is not a forecast of future prices.
The ratio starts from bar Slow. Ratio MA starts at the same time with EMA, and otherwise MA period − 1 bars later. By default, the ratio is displayed from the 49th bar.
The 2nd 0.0000 in the default header does not mean Ratio MA is 0. First check whether the line is set to hidden.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place orders. It does not guarantee profit or future price movement.
Fast<Slow must be satisfied. The same period cannot be used either.
Ratio MA Period is 0 by default. Showing it requires 1 or more and the necessary history.
Check the allowed range of the inputs and the number of history bars. Outside the range, the indicator does not start, and the reason is shown in English in the Experts tab of the Toolbox. No explanation is shown on the chart.
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.
R=ATR_fast/ATR_slow. If the denominator is 0, R=1. Because TR is non-negative, the calculated range is 0 to Slow/Fast (0 to 7 by default). Floating-point rounding does occur.
SMA, EMA, SMMA and LWMA can be used. The SMMA seed is the simple average of the ratio over the first MA period. The display shows 4 digits.
The internal ATR is a simple average of TR, but this does not mean that the whole product, including the ratio and the average line, has the same values as the standard ATR.