UT Bot LinReg Combined
- Indicadores
- Versão: 9.0
- Ativações: 5
UT Bot + LinReg Candles
Overview
UT Bot + LinReg Candles is a technical analysis indicator for MetaTrader 5 that combines two complementary tools on a single chart layer:
- Linear Regression Candles replace standard Japanese candlesticks with candles built on linear regression values of Open, High, Low and Close. This smooths out market noise and makes the trend direction visually cleaner.
- ATR Trailing Stop (UT Bot logic) draws an adaptive dynamic line based on Average True Range. The line follows price and changes its position depending on current volatility.
- Buy and Sell signals appear when price crosses the trailing stop line. Each signal is displayed as an arrow with a label directly on the chart.
How It Works
The trailing stop is calculated using the ATR Trailing Stop algorithm (originally published as UT Bot by HPotter on TradingView). A signal is generated when the closing price crosses the dynamic line from below (Buy) or from above (Sell). To avoid repeated signals at the same level, the indicator allows only alternating signals: Buy followed by Sell, and Sell followed by Buy.
The trail line is additionally smoothed using Wilder's Moving Average (RMA) to provide a visually clean curve that follows the trend without sharp jumps.
Parameters
| Parameter | Default | Description |
| Key Value | 1.0 | Sensitivity of the trailing stop. Higher values make the line less reactive. |
| ATR Period | 10 | Period for ATR calculation. |
| LinReg Period | 14 | Number of bars used for linear regression. |
| Hide original chart candles | true | Hides the standard candlestick chart so only LinReg candles are visible. |
| Show Trail line | true | Shows or hides the ATR trail line. |
| Popup alert | true | Displays a pop-up window when a signal appears. |
| Push notification | false | Sends a push notification to the MetaTrader mobile app. |
| Sound alert | false | Plays a sound (alert.wav) when a signal appears. |
Alerts
Alerts fire only on the current (live) bar and only once per signal. No repeated alerts for the same bar. Push notifications require a MetaQuotes ID configured in MetaTrader 5 settings under Tools > Options > Notifications.
Usage Notes
- The indicator works on any symbol and any timeframe.
- LinReg candles are smoothed representations of price and may differ visually from standard candles.
- Signals are based on price crossing the dynamic ATR line and should be used as part of a broader analysis approach.
- Past signal performance on historical data does not guarantee future results.
For best results, it is recommended to use the indicator on M30 (30-minute) and H1 (1-hour) timeframes. Lower timeframes contain significantly more market noise, which may lead to lower-quality signals and reduce the overall effectiveness of the analysis.
For the best visual experience, it is recommended to disable the chart grid and trading history display in MetaTrader 5. This helps reduce visual clutter and allows the LinReg Candles and ATR Trailing Stop signals to remain clear and easy to interpret.
Support
For questions and assistance, please use the built-in MQL5 chat system on the product page.
