OPEN-SOURCE SCRIPT
Aktualisiert Profit Punch: Risk & Target Planner (ATR + Fixed R)

Profit Punch: Risk & Target Planner (ATR + Fixed R)
This indicator is a complete trade planning tool designed to visualize your Risk (R) and Reward levels instantly. Whether you use a volatility-based strategy (ATR) or precise manual levels, this tool draws your roadmap directly on the chart.
It solves the problem of calculating "R-Multiples" manually and ensures every trade plan is consistent.
Key Features
How to Use
Settings Guide
Who is this for?
This tool is built for swing traders, educators, and anyone who uses "R-Multiples" (Risk Units) to manage their portfolio. It is especially useful for creating consistent trade plan screenshots.
This indicator is a complete trade planning tool designed to visualize your Risk (R) and Reward levels instantly. Whether you use a volatility-based strategy (ATR) or precise manual levels, this tool draws your roadmap directly on the chart.
It solves the problem of calculating "R-Multiples" manually and ensures every trade plan is consistent.
Key Features
- 1. Smart Risk Calculation
- Auto Mode (ATR): Uses the stock's daily volatility (ATR) to automatically suggest a logical Stop Loss.
- Manual Mode: Lets you type in your exact Stop Loss price (e.g., below a recent low), and the tool automatically adjusts your Profit Targets to match that specific risk.
- 2. Hybrid Targeting (The "Nuance")
You can set a tight manual stop but keep your profit targets based on daily volatility (ATR). This allows for "Hybrid" setups where you risk a small amount (tight stop) but aim for a standard volatility move (ATR targets). - 3. Backtesting Friendly
Use the "Target Date" feature to apply the tool to any past candle. It will calculate the targets based on what the volatility was on that specific day, allowing you to accurately review past trades. - 4. Clean & Customizable
- Editable Labels: Rename "1R" to "Goal 1" or "Take Profit".
- Clean Look: Toggle any line on/off to keep your chart simple.
- Timeframe Independent: Calculations are always anchored to Daily data for consistency, even if you are viewing a 5-minute chart.
How to Use
- Step 1: Add to Chart. The lines will appear on the latest bar by default.
- Step 2: Set Entry. In Settings, check "Use Manual Entry" to type your exact buy price, or leave unchecked to use the closing price.
- Step 3: Set Stop. Choose "Auto (ATR)" for a volatility-based stop, or "Manual Price" to type in your specific stop level.
- Step 4: Visualize. The tool draws your 1R, 3R, 5R, and 7R targets instantly.
Settings Guide
- Risk Factor: Multiplier for the ATR calculation (Default is 1.5).
- Target Base: Choose whether profit targets are multiples of your Stop Distance (Classic) or Fixed ATR (Volatility).
- Custom Labels: Change the text displayed on the chart (e.g., "Safe Exit" instead of "1R").
Who is this for?
This tool is built for swing traders, educators, and anyone who uses "R-Multiples" (Risk Units) to manage their portfolio. It is especially useful for creating consistent trade plan screenshots.
Versionshinweise
Profit Punch: Risk & Target Planner (ATR + Fixed R)This indicator is a complete trade planning tool designed to visualize your Risk (R) and Reward levels instantly. Whether you use a volatility-based strategy (ATR) or precise manual levels, this tool draws your roadmap directly on the chart.
New Update: Now supports automatic Breakout Entries (High) or End-of-Day Entries (Close).
Key Features
- 1. Flexible Entry Modes
- Auto Entry: Choose between High (default for breakouts), Close, or Open. The script automatically grabs the correct price from the candle.
- Manual Entry: Check the "Manual" box to type in a specific pending order price (e.g., 152.50).
- 2. Smart Risk Calculation
- Auto Mode (ATR): Uses the stock's daily volatility (ATR) to automatically suggest a logical Stop Loss.
- Manual Mode: Lets you type in your exact Stop Loss price (e.g., below a recent low).
- 3. Hybrid Targeting (The "Nuance")
You can set a tight manual stop but keep your profit targets based on daily volatility (ATR). This allows for "Hybrid" setups where you risk a small amount (tight stop) but aim for a standard volatility move (ATR targets). - 4. Backtesting Friendly
Use the "Target Date" feature to apply the tool to any past candle. It will calculate the targets based on what the volatility was on that specific day.
How to Use
- Step 1: Add to Chart.
- Step 2: Select Entry Source. In Settings, choose "High" if you are playing a breakout of that candle, or "Close" if you entered at the end of the day.
- Step 3: Set Stop. Choose "Auto (ATR)" for a volatility-based stop, or "Manual Price" to type in your specific stop level.
- Step 4: Visualize. The tool draws your 1R, 3R, 5R, and 7R targets instantly.
Settings Guide
- Entry Source: Determines if the auto-entry line starts at the candle's High, Low, or Close.
- Target Base: Choose whether profit targets are multiples of your Stop Distance (Classic) or
Versionshinweise
New in Version 2.2 (Visual Upgrade):- High Contrast Mode: Added a new setting to toggle "Solid Backgrounds" for your labels. This makes the text pop (White text on Black background) for much better readability on busy charts.
- Adjustable Line Thickness: You can now control the thickness of all lines (1-5) via a slider in the settings. The Stop Loss line automatically stays slightly thicker than the targets for visual safety.
Versionshinweise
MAJOR UPDATE: Profit Punch v3.0 (Visuals & Data)This update brings a complete visual overhaul and new data features to help you plan trades with even more precision.
New Features:
- Percentage (%) Distance:
No more guessing the math! You can now toggle "Show % Distance" to see exactly how far away your Stop Loss (-4.5%) or Profit Target (+12.3%) is from your entry. - Full Color Customization:
We replaced the simple "High Contrast" toggle with full color control. You can now select any Background Color and Text Color for your labels. Use the transparency slider to create solid, semi-transparent, or invisible backgrounds to match your chart theme. - Custom "Action" Labels:
You are no longer stuck with "BUY" and "STOP". You can now rename these labels to anything that fits your strategy (e.g., "Breakout / Invalidation" or "Entry / Hard Stop"). - Adjustable Line Thickness:
Added a slider (1-5) to control the weight of the lines. The Stop Loss line remains slightly thicker than the targets for clear visual hierarchy.
Update your chart now to access these new styling and data tools!
Versionshinweise
New in Version 3.2:- Visual Shading: Added automatic background shading (Green for Profit, Red for Loss) to make risk zones instantly visible.
- New Stop Modes: Added 4 technical stop options: Low of Candle, High/Close of Previous Candle (for Gaps), and Half ATR (0.5x).
- Engine Upgrade: Updated code to Pine Script v6 for better performance and stability.
Versionshinweise
New in Version 4.0: Short Selling Support- Long / Short Toggle: You can now switch the tool to "Short" mode. All R-multiple targets will automatically project downwards.
- Direction-Aware Stops: Technical stops auto-flip based on direction. (e.g., A "Candle Extremum" stop anchors to the Low for Longs, and the High for Shorts).
- Smart Percentages: The % distance labels correctly calculate positive returns when short targets are hit.
- Low Entry Option: Added "Low" to the Auto Entry Source dropdown for breakdown traders.
Versionshinweise
MAJOR UPDATE (v4.1): True Pre-Market IntegrationThis update completely overhauls how the script handles pre-market data, allowing you to build perfectly accurate trade plans before the opening bell rings.
New Features & Upgrades:
- Pre-Market Latest Price: Added a new "Pre-Market Latest" option to the Auto Entry Source. Instead of grabbing the useless 4:00 AM open, the script now fetches the absolute most recent ticking price in the pre-market session.
- Chart Independent: Standard scripts ignore pre-market data unless you manually toggle "Extended Hours" on your chart. This update forces the script to fetch the extended session in the background, ensuring your gap analysis is always 100% accurate regardless of your chart settings.
- Smart Fallback System: If you apply the tool to a ticker or exchange that has zero pre-market data available, the script will no longer fail or disappear. It now safely falls back to the standard Last Traded Price (Close) and updates your chart label to say "(Fell Back)" so you always know exactly what data you are looking at.
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.
Get my trade ideas straight to your inbox.
👉 profitpunch.org
👉 profitpunch.org
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.
Get my trade ideas straight to your inbox.
👉 profitpunch.org
👉 profitpunch.org
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.