TP/SL Percentage & RR Visual Tool

🔧 How It Works:
Uses the current candle’s close price as your entry.
Calculates TP and SL as percentage-based levels (e.g., 1% SL, 1.5% TP).
Displays horizontal lines and labels on the chart for TP and SL (only on the latest candle to reduce clutter).
Shows a compact table in the top-right corner with all key values:
Entry Price
Current Price
TP Price (+%)
SL Price (-%)
TP Distance from current price
RR Ratio (e.g., 1:1.5)
💡 Use Cases:
Quickly validate if a trade setup meets your desired RR profile (e.g., 1:2).
Perfect for scalpers, swing traders, and position traders who rely on structured risk management.
Combine with your entry signal strategy to visualize targets and stops without manual calculations.
⚙️ Inputs:
Stop Loss % – Sets how far your SL is from the entry.
Take Profit % – Sets how far your TP is from the entry.
This all-in-one indicator is designed to help traders visualize risk-reward targets, confirm entry signals, and trade with greater context awareness using multi-timeframe trend analysis.
✅ Features
🔔 UT Bot Alerts
Generates Buy/Sell signals using the UT Bot algorithm, which reacts to price action and volatility shifts. Ideal for scalping or intraday swing trades.
🎯 Dynamic TP/SL Levels
Automatically calculates and plots Take Profit and Stop Loss lines based on user-defined percentages. Supports 3 TP levels and their corresponding SL zones.
📊 Volatility Meter
Uses ATR vs ATR-SMA to determine whether the market is experiencing high or low volatility conditions.
📈 Trend Strength
Detects trend direction using 20 EMA vs 50 EMA. Also includes a visual table showing trend across 5m, 15m, 1H, 4H, and Daily timeframes.
📋 Unified Trading Dashboard
A clean, fixed-position table shows entry price, TP/SL targets, trend conditions, volatility status, change since last signal, and session-based trend breakdown.
📊 EMA Overlays
Optional 20/50/100/200 EMA visualizations to support trend-based entries and exits.
🧠 Strategy Concept
This tool is designed to reduce decision fatigue by combining:
Entry Logic (UT Bot signals)
Risk Management (TP/SL lines and RR visualization)
Market Context (Trend strength, volatility)
All components work together to give traders a full-scope view of when to enter, where to place stops/targets, and how conditions vary across timeframes.
🧪 Best Timeframes & Assets
Recommended on: 5m, 15m, 1H, 4H
Works well with: BTC, ETH, EUR/USD, NASDAQ, S&P 500
📋 Credits
UT Bot Algorithm Logic: adapted from [QuantNomad]
TP/SL + RR Visual concept: built upon open-source community code, significantly restructured
⚠️ How to Use
Wait for a Buy/Sell signal from UT Bot
Check if trend conditions (EMA + table) align
Observe the volatility meter for favorable conditions
Use the plotted TP/SL lines for precise risk management
Monitor session timing boxes to avoid low-volume periods
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.