OPEN-SOURCE SCRIPT
Aktualisiert 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
Versionshinweise
Lag fix 07.07-2025: the signal not appear before the bar is fully closed and confirmedVersionshinweise
08.07.2025- Adjusted alert timing-bug fix and improvementshttps://www.tradingview.com/x/5fdJgm5I/Versionshinweise
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 :)
Versionshinweise
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
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.