OPEN-SOURCE SCRIPT
TP Hunter [Sniper Trading System]

TP Hunter Overlay — Sniper Trading System Suite
What it is
TP Hunter helps with the hardest part of trading: exits. It plots Take Profit zones (TP1/TP2/TP3) using a standard deviation model around a 20-period moving average (“Centerline”). When price reaches a target, TP Hunter marks it on the chart and can trigger an alert—so you can scale out with discipline.
How it works (plain language)
The Centerline is a 20-period SMA (average price).
The script measures recent volatility (standard deviation) and projects TP levels above/below the Centerline.
If price is above the Centerline, the script treats it as buy context; below = sell context.
When price touches a TP level in that context, the indicator prints a shape (TP1 green, TP2 orange, TP3 red) and alerts can fire.
Inputs
TP1/TP2/TP3 Multiplier: distance of each target from the Centerline (in standard deviations).
RSI Period / Levels: optional filter to avoid extreme conditions (default enabled).
Show TP Hit Labels: toggle the on-chart labels.
Visuals
Centerline (gray)
TP hits:
Buy hits = triangles above bars (TP1/TP2/TP3 = green/orange/red).
Sell hits = triangles below bars (TP1/TP2/TP3 = green/orange/red).
Alerts
TP1/TP2/TP3 hit alerts for both buy and sell contexts.
Suggested workflow: set alerts, scale out at TP1/TP2, reserve a runner for TP3.
Best practices
Use TP Hunter to plan exits after your own entry signal (e.g., time-based or liquidity-based entries).
If you want fewer but stronger targets, increase the multipliers.
If you want more frequent targets, decrease them slightly.
RSI filter can reduce noise during extreme momentum.
Notes & Limitations
This is an overlay tool for exit management, not a standalone entry system.
Shapes confirm on bar close; alerts can trigger intrabar when a level is touched.
No financial advice. Past performance does not guarantee future results.
What it is
TP Hunter helps with the hardest part of trading: exits. It plots Take Profit zones (TP1/TP2/TP3) using a standard deviation model around a 20-period moving average (“Centerline”). When price reaches a target, TP Hunter marks it on the chart and can trigger an alert—so you can scale out with discipline.
How it works (plain language)
The Centerline is a 20-period SMA (average price).
The script measures recent volatility (standard deviation) and projects TP levels above/below the Centerline.
If price is above the Centerline, the script treats it as buy context; below = sell context.
When price touches a TP level in that context, the indicator prints a shape (TP1 green, TP2 orange, TP3 red) and alerts can fire.
Inputs
TP1/TP2/TP3 Multiplier: distance of each target from the Centerline (in standard deviations).
RSI Period / Levels: optional filter to avoid extreme conditions (default enabled).
Show TP Hit Labels: toggle the on-chart labels.
Visuals
Centerline (gray)
TP hits:
Buy hits = triangles above bars (TP1/TP2/TP3 = green/orange/red).
Sell hits = triangles below bars (TP1/TP2/TP3 = green/orange/red).
Alerts
TP1/TP2/TP3 hit alerts for both buy and sell contexts.
Suggested workflow: set alerts, scale out at TP1/TP2, reserve a runner for TP3.
Best practices
Use TP Hunter to plan exits after your own entry signal (e.g., time-based or liquidity-based entries).
If you want fewer but stronger targets, increase the multipliers.
If you want more frequent targets, decrease them slightly.
RSI filter can reduce noise during extreme momentum.
Notes & Limitations
This is an overlay tool for exit management, not a standalone entry system.
Shapes confirm on bar close; alerts can trigger intrabar when a level is touched.
No financial advice. Past performance does not guarantee future results.
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.