Entry / TP / SL Alert Bands (Simple & Stable)

Description
This tool plots customizable Entry, Take-Profit, and Stop-Loss reference levels, along with two alert bands derived as a percentage of the distance between Entry→TP and Entry→SL. The bands update immediately when inputs are adjusted and remain constant across the chart. This is useful for traders who want to visually monitor when price approaches key zones associated with their pre-defined trade plan.
Core Features
• Manual Entry, TP, and SL input fields
• Long or Short mode
• Upper alert band = a user-defined % of the distance toward TP
• Lower alert band = a user-defined % of the distance toward SL
• Optional visibility controls for Entry, TP, SL lines
• Alerts for:
– Price crossing the upper band
– Price crossing the lower band
– Price crossing either band
• Works on any symbol and any timeframe
• Alerts use TradingView’s built-in alertcondition() system
How It Works
The script computes the absolute distance between Entry→TP and Entry→SL, then applies user-defined percentages to determine where the alert bands should be drawn. If TP/SL are reversed relative to Entry for the selected direction, the relevant band may be invisible (e.g., negative or invalid distance). Proper TP/SL placement is required for intended use.
Notes
• This tool does not generate buy/sell signals.
• This tool does not provide financial advice.
• Proper risk management, independent decision-making, and verification of all settings are required.
⸻
Skrypt tylko na zaproszenie
Dostęp do tego skryptu mają wyłącznie użytkownicy zatwierdzeni przez autora. Aby z niego korzystać, należy poprosić o zgodę i ją uzyskać. Zgoda jest zazwyczaj udzielana po dokonaniu płatności. Więcej informacji można znaleźć w instrukcjach autora poniżej lub kontaktując się bezpośrednio z drlicht1.
TradingView NIE zaleca płacenia za skrypt ani korzystania z niego, jeśli nie ma pełnego zaufania do jego autora i nie rozumie się zasad jego działania. Można również znaleźć darmowe, otwartoźródłowe alternatywy w skryptach społeczności.
Instrukcje autora
Wyłączenie odpowiedzialności
Skrypt tylko na zaproszenie
Dostęp do tego skryptu mają wyłącznie użytkownicy zatwierdzeni przez autora. Aby z niego korzystać, należy poprosić o zgodę i ją uzyskać. Zgoda jest zazwyczaj udzielana po dokonaniu płatności. Więcej informacji można znaleźć w instrukcjach autora poniżej lub kontaktując się bezpośrednio z drlicht1.
TradingView NIE zaleca płacenia za skrypt ani korzystania z niego, jeśli nie ma pełnego zaufania do jego autora i nie rozumie się zasad jego działania. Można również znaleźć darmowe, otwartoźródłowe alternatywy w skryptach społeczności.