R-Squared
The strength of the fit, from 0 to 100. Even close to 100, it does not tell you whether prices are rising or falling.
Measures how closely recent prices follow a straight line, or how far they are from the end point of the regression line. If needed, a simple average or T3 signal line is overlaid.
R-SquaredThe strength of the fit, from 0 to 100. Even close to 100, it does not tell you whether prices are rising or falling.
ForecastShows the difference of the price from the regression end point in %. It is not a probability of predicting future prices.
2nd lineThe red line is the average of the main line. There are no crossover dots or notifications.


The published images are display examples from before the brand display was added. The product has display settings for the brand text and QR code, but the screen with the brand display has not yet been verified. The timeframe shown in the image does not indicate how often this appears on that timeframe in practice. Marks at the edges may be cut off outside the screen.
Mode = Forecast Oscillator、Regression Period (bars) = 15、Price = close、Signal Line = T3、Signal Period = 3、T3 Volume Factor = 0.7。
The 4 brand display items are not included in the capture.
The strength of the fit, from 0 to 100. Even close to 100, it does not tell you whether prices are rising or falling.
Shows the difference of the price from the regression end point in %. It is not a probability of predicting future prices.
The red line is the average of the main line. There are no crossover dots or notifications.
Measures how closely recent prices follow a straight line, or how far they are from the end point of the regression line. If needed, a simple average or T3 signal line is overlaid.
The coefficient of determination between time and the selected price, multiplied by 100. If all prices in the window are the same, it is 0. It is blank until the period is filled.
100×(selected price−end point of the regression line)/regression end point. If the end point is 0, it returns 0. Positive means above the end point; negative means below.
Shown once Signal Period bars of the main line are available. In terms of price, it depends on Regression Period+Signal Period−1 bars.
Combines 6 stages of exponential smoothing, seeded with the first value of the main line. The effective period is 1+0.5×(Signal Period−1). It also depends on the previous recursive state and the start of the history.
The strength of the fit, from 0 to 100. Even close to 100, it does not tell you whether prices are rising or falling.
Use the same symbol, timeframe and history, and first change only one input. Use separate charts for comparison, and check the Mode and vertical axis of each screen.
A high R-Squared while the price falls is not a contradiction. A falling straight line also fits well.
This display alone does not decide whether to trade. The colors, lines and arrows represent the calculation conditions in this manual; they are not a forecast of future price movement or an instruction to buy or sell.
At first, do not change the inputs; cross-check the colors and display location against the default screen above.
The value of the latest forming bar changes. There is no Closed Bars Only input. Read it separately from bars after they close.
Mode: Forecast Oscillator / Regression Period: 15 / Signal Line: T3 / Signal Period: 3. Comparison images may include multiple changes.
The angle of lines and visible differences change with the screen zoom. Check the settings together with the price scale and the vertical axis of the separate window.
| ZIP contents | Location / role |
|---|---|
TRI_Regression_Fit_Oscillator.ex5 | MQL5/Indicators in MT5. Only 1 item: the indicator itself. |
The manual opens on the product's own page on the site. The ZIP does not include the manual or source code. It is for MT5 only and cannot be used in MT4. The site edition has no account authentication or license file settings.
Prepare the extracted EX5. Do not place it while it is still compressed.
Place the EX5 in MQL5/Indicators via 'File → Open Data Folder'.
Refresh the Navigator or restart the terminal, and apply it to the target chart. DLL permission is not required.
Change the settings or remove it from the chart's 'Indicators List'. Enabling automated trading is not required.
There are 10 items in total: 6 product-specific items and 4 brand display items. English names are based on the input definitions. Enter numbers in half-width characters. Keep inputs that the mode does not use within range as well.
InpModeInpPeriodInpPriceInpSignalInpSignalPeriodInpT3FactorInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYThe value of the latest forming bar changes. There is no Closed Bars Only input. Read it separately from bars after they close.
Settings changes, additions to or corrections of the history, and reloading redo the calculation. This is not a guarantee that "closed bars never change under any circumstances".
A common display is shared among products of the same medium on the same chart. If several are loaded, the settings of the registration that enabled the display first are used, so changing one may not change the appearance.
This product does not place orders or trade automatically. It does not guarantee accuracy as a trading signal or profits.
A high R-Squared while the price falls is not a contradiction. A falling straight line also fits well.
Check whether the required number of history bars is available, whether the forming bar is hidden, and the input ranges and mode. Also check the terminal's Experts tab for input errors.
Check the price feed and the connection status. Changing settings for an unused mode does not change the display.
The appearance changes with the symbol, history, timeframe, inputs and scale. Even when compared with the full-size image, the marks are not necessarily at the same positions or of the same count.
Past main line values are determined by the prices in their window, but not all display, including T3, is determined only by the most recent period.
The value of the latest bar changes. There is no Closed Bars Only switch. Matching the initial values of standard indicators or other software is not guaranteed.
The published images and values were checked with the product before the brand display was added. The screen display of the product with the brand display has not yet been verified. Whether the values match other indicators with the same name, the Data Window display, and behavior with long histories or with symbols that have different price digits have not been verified.
Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. The unit of periods is the number of chart bars.