OPEN-SOURCE SCRIPT
Updated

Profit Punch: Risk & Target Planner (ATR + Fixed R)

477
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
  • 1. Smart Risk CalculationAuto 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.
Release Notes
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 ModesAuto 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 CalculationAuto 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
Release Notes
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.