Default is RSI
Shows a blue line on a fixed 0–100 scale. 30 and 70 are reference lines for display.
Selects one of RSI, CCI or ADX and lines up the recent values of several timeframes side by side. The right end is the chart's timeframe, and to its left are longer timeframes.
Read the order of the timeframesThe window name is in left-to-right order. On H1, it is MN1, W1, D1, H4, H1.
Look at the right end of each sectionThe right end of each section is the forming bar of that timeframe.
Note the horizontal axisSections other than the right-end one do not correspond to the candlesticks above or the time scale below.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-hour timeframe (H1). This is an example to explain the display. The changed settings are not 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 display range.
Shows a blue line on a fixed 0–100 scale. 30 and 70 are reference lines for display.
On an H1 chart, from the right: H1, H4, D1, W1, MN1. Timeframes shorter than H1 are not shown.
No line appears where history is insufficient or in the gaps between sections. Longer timeframes need more bars of the original chart.
Fits the recent N bars of each timeframe into sections of the same width. Do not read the same horizontal position in different sections as the same date and time.
Older on the left, newer on the right. The default 30 bars are 30 bars of each timeframe, so H1 and W1 cover periods of different lengths.
Starting with the chart itself, it takes the longer timeframes that can be built from M1, M5, M15, M30, H1, H4, D1, W1 and MN1. On a weekly or monthly chart, there is only 1 section for the chart itself.
The latest value of the main line, and for ADX also the latest values of +DI and −DI. All of them are values of the chart timeframe at the right end, not numbers listing the latest value of each section.
With 30 bars, 7 sections and 2 bars between sections, the width is 222 bars. H1 has 5 sections and 158 bars. If it is made longer, the left side can go off-screen.
This is a calculated guide. It assumes a calendar from January 1, 2024 with bars at each timeframe's interval for 24 hours from Monday to Friday (no Saturday or Sunday bars; weekday market holidays are not considered). The number of bars changes with the broker's actual bars, holidays, the start position of the history and the number of days in a month. It is not a guarantee that the display always starts from this number of bars on the terminal.
| Chart | M1 | M5 | M15 | M30 | H1 | H4 | D1 | W1 | MN1 |
|---|---|---|---|---|---|---|---|---|---|
| M1 | 15 / 44 | 76 / 221 | 226 / 661 | 451 / 1,321 | 901 / 2,641 | 3,601 / 10,561 | 21,601 / 63,361 | — | — |
| M5 | — | 15 / 44 | 46 / 133 | 91 / 265 | 181 / 529 | 721 / 2,113 | 4,321 / 12,673 | 21,601 / 63,361 | — |
| M15 | — | — | 15 / 44 | 33* / 89 | 65* / 177 | 241 / 705 | 1,441 / 4,225 | 7,201 / 21,121 | 31,297 / 91,873 |
| M30 | — | — | — | 15 / 44 | 33* / 89 | 121 / 353 | 721 / 2,113 | 3,601 / 10,561 | 15,649 / 45,937 |
| H1 | — | — | — | — | 15 / 44 | 61 / 177 | 361 / 1,057 | 1,801 / 5,281 | 7,825 / 22,969 |
| H4 | — | — | — | — | — | 15 / 44 | 91 / 265 | 451 / 1,321 | 1,957 / 5,743 |
| D1 | — | — | — | — | — | — | 15 / 44 | 76 / 221 | 327 / 958 |
| W1 | — | — | — | — | — | — | — | 15 / 44 | — |
| MN1 | — | — | — | — | — | — | — | — | 15 / 44 |
| Chart | M1 | M5 | M15 | M30 | H1 | H4 | D1 | W1 | MN1 |
|---|---|---|---|---|---|---|---|---|---|
| M1 | 29 / 58 | 146 / 291 | 436 / 871 | 871 / 1,741 | 1,741 / 3,481 | 6,961 / 13,921 | 41,761 / 83,521 | — | — |
| M5 | — | 29 / 58 | 88 / 175 | 175 / 349 | 349 / 697 | 1,393 / 2,785 | 8,353 / 16,705 | 41,761 / 83,521 | — |
| M15 | — | — | 29 / 58 | 59 / 117 | 117 / 233 | 465 / 929 | 2,785 / 5,569 | 13,921 / 27,841 | 60,481 / 121,153 |
| M30 | — | — | — | 29 / 58 | 59 / 117 | 233 / 465 | 1,393 / 2,785 | 6,961 / 13,921 | 30,241 / 60,577 |
| H1 | — | — | — | — | 29 / 58 | 117 / 233 | 697 / 1,393 | 3,481 / 6,961 | 15,121 / 30,289 |
| H4 | — | — | — | — | — | 29 / 58 | 175 / 349 | 871 / 1,741 | 3,781 / 7,573 |
| D1 | — | — | — | — | — | — | 29 / 58 | 146 / 291 | 631 / 1,263 |
| W1 | — | — | — | — | — | — | — | 29 / 58 | — |
| MN1 | — | — | — | — | — | — | — | — | 29 / 58 |
Each cell is the number of chart bars needed for a value to appear at the latest position of the section / at all 30 bars. — means a timeframe not included in the default 7 sections. * is not the number of higher-timeframe bars needed for the calculation, but the number of chart bars needed to reach the side-by-side layout position. RSI starts once period+1 higher-timeframe bars are usable, CCI at period bars, and the ADX main line at 2×period+1 bars. For all 30 bars, these are period+30, period+29 and 2×period+30 bars respectively. For longer timeframes, 1 initial unused interval is added separately.
Check that the window name starts with MTF Panel, and check the order of the timeframes.
First look at the section of the chart timeframe, then move left to the longer timeframes.
Switches between RSI, CCI and ADX. RSI Price and CCI Price take effect only with the matching formula.
When changing the number of bars, the number of sections or the spacing, also check the screen width and the required history.
| Included file | Purpose / location |
|---|---|
| TRI_MTF_Oscillator_Panel.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'.
Using this product does not require allowing DLLs. When removed, this product's drawings are cleared.
There are 8 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpOscillatorInpPeriodInpRsiPriceInpCciPriceInpBarsPerTimeframeInpTimeframesInpGapInpShowDIIt does not read the history of other timeframes directly; it groups the bars loaded in the current chart. There are no higher-timeframe bars older than the chart's history. For longer timeframes, the section containing the chart's first bar is not used. In calculations for the same timeframe, the first bar is also used.
In server time, the boundary is 00:00 for daily bars, Sunday 00:00 for weekly bars and 00:00 on the 1st of the month for monthly bars. Sections without bars are not filled with new bars. If there are bars on Sunday, that day is also counted as 1 daily bar.
The calculation is redone when the chart's history is added or corrected, or when the oldest bar or the settings change. For recursively calculated EMA, SMMA, RSI and ADX, past values and colors may also change. It is not guaranteed that past displays remain unchanged under all conditions.
The right end of each section is the forming higher-timeframe bar. Its value changes during that bar, and when a new chart bar forms, the position of the whole panel also moves.
With the default RSI14, values start from the 15th usable higher-timeframe bar, and 44 bars are needed for all 30. For longer timeframes, the first unused section is added as well. It also cannot be displayed if the chart bars do not reach the placement position.
In this product's RSI, when the average loss is 0, the value is 100 if there is an average gain, and 50 if the gain is also 0. Under this condition, the value may differ from the MT5 standard RSI. Do not treat it as equal to the standard RSI on every bar.
CCI Price is not used in the calculation with RSI, RSI Price is not used with CCI, and neither price is used with ADX. Show +DI and -DI has no effect with RSI or CCI, but the allowed range of each input is still checked.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product is for displaying calculation results on the screen. It does not guarantee future price movement.
There are not enough higher-timeframe bars that can be built from the chart's bars. Check the required-history table. Even as a guide, showing the latest value of the D1 RSI 14 on M1 requires 21,601 bars with weekday 24-hour bars.
Timeframes shorter than the chart are not shown. Place it on a chart of the shortest timeframe you want to see.
Even in a calculation window with no price movement, the value can be around ±66.67 because of rounding in the last digit of the average calculation. This is a property of CCI, in which small calculation errors become visible values.
Check the input ranges. If startup is refused, the reason appears as 1 line in English on the MT5 Experts tab. No panel with the reason appears on the chart. Inputs that are not used are also range-checked.
Check the timeframe, the inputs, the start of the history and how the intervals are split. Even an indicator with the same name does not match if it differs in whether values are interim or final, or in the history used for the calculation.
Calculating longer timeframes needs many chart bars. Check the "Max bars in chart" limit and the history actually loaded. Raising the limit alone does not necessarily bring in all history that has not yet been downloaded.
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.
RSI smooths the averages of up moves and down moves over the period. CCI divides the difference between the selected price and its period average by mean absolute deviation × 0.015. If the deviation is exactly 0, the value is 0. CCI 14 starts from the 14th usable bar.
+DI and −DI divide each bar's directional range by the true range and smooth the result exponentially, and ADX exponentially smooths the ratio of the difference between the two. With period n, DI is shown from bar n+1 and ADX from bar 2n+1.
RSI has a fixed 0–100 scale with 30 and 70, CCI has reference lines at −100, 0 and 100, and ADX at 20. CCI and ADX use automatic scales. Do not read the reference lines as a forecast of future movement.
A dedicated value row that identifies the timeframe of each section is not shown in the window heading or in the Data Window. Check the timeframes by their left-to-right order in the window name.
The first interval of each higher timeframe is not used, and the calculation is made from the current chart's history. For RSI and ADX, the values can differ from the standard indicator on another chart when the initial calculation state differs.