OPEN-SOURCE SCRIPT
Actualizado UT Bot + LinReg Candles (Dual Sensitivity)

Script Description:
This indicator combines the popular UT Bot Alerts system with Linear Regression Candles (open source) for enhanced trend detection and trading signals in one singel script. The UT Bot features independent, then 2 x ATR sensitivity and periods controls for buy and sell signals, allowing you to fine-tune entries and exits to match your strategy. The script also overlays colored Linear Regression Candles with an optional signal line, helping you visually identify trend strength and direction. All calculations are performed on standard chart prices (no Heikin Ashi). Suitable for all asset classes and timeframes.
Eample setting for usdjpy 5 min chart for repeated buy and sell singnals based on trend:
BUY ATR period 300 multiplier 1
SELL ATR period 1 multiplier 2
Disclaimer:
This script is for informational and educational purposes only. It is not financial advice. Use at your own risk; the author assumes no responsibility for any trading results or losses.
Credits goes to to Ugurvu for linreg candles and quantnomad for UT Bot alerts that make this script possible.
Author: Patrick
Notas de prensa
Lag fix 07.07-2025: the signal not appear before the bar is fully closed and confirmedNotas de prensa
08.07.2025- Adjusted alert timing-bug fix and improvementshttps://www.tradingview.com/x/5fdJgm5I/Notas de prensa
Changelog 10.08.2025: 1. ATR Buy/Sell Independence, one side could now be fully disabled
The Buy and Sell ATR settings work independently, letting you fine-tune sensitivity for each side.
If you set one ATR multiplier to 0 (Zero), that side is effectively disabled
— e.g for use., in a strong bullish market, you can turn off Sell signals and only trade Buys on dip as an example.
2. New Dashboard Panel
Added a visual panel for additional practical info
Displays market conditions, trends, and trade info in a fixed top-right panel.
Panel Includes:
Volatility %
Volume vs Average
VWAP Position
MACD Bias
Stochastic Bias + OB/OS state
Multi-timeframe EMA based trend overview
Today & Yesterday range/direction in %
ATR regime (High/Mid/Low)
Current ATR trailing stop for active trade in the panel
Fully customizable position, padding, and colors under settings.
Benefit:
One glance gives both market overview and trade status without nessescary checking many multiple indicators.
How to Use:
Signals – Use UT Bot Buy/Sell labels for entries; enable trailing lines to track stops.
Zones – Green = demand, Red = supply; trade in confluence with UT signals.
S/R Lines – Watch for reactions at key historical levels.
Dashboard – Check trend bias, volatility, and momentum before entering.
Stochastic reports both direction and overbought/oversold state.
Filters – Toggle zones, S/R, or dashboard off for a cleaner chart if needed.
Important!
Remember no indicator garantee success,never solely trust one indicator alone, always do your own research before enter a trade.
Known bugs: The scale of the chart vs indicator could sometimes be wrong, remove the indicator and open the Tradingview page in a new window and then add the indicator.
Fix in progress.
Let me know if something not working as expected :)
Notas de prensa
Changelog 18.08.2025Visuals- Linreg candles follow the color between buy and sell signals for cleaner trend view
Panel- could now be anchored in each corner of the chart after each users choice under GUI settings
SMA line have option for color change to be better visual in both white and black background.
Patrick
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.