OPEN-SOURCE SCRIPT

Sizing Coach HUD Long and Short

94
This HUD is designed as a systematic execution layer to bridge the gap between technical analysis and mechanical risk management. Its primary purpose is to eliminate the "discretionary gap"—the moment where a trader’s "feeling" about volatility or spreads causes hesitation.

By using this tool, you are not just watching price; you are managing a business where Risk is a constant and Size is a variable.

Core Functionality: The Position Sizing Engine
snapshotThe HUD automates the math of "Capital-Based Tiers". Instead of choosing an arbitrary share size, the system calculates your position based on three predefined levels of conviction:

Tier 1 (1% Notional): Low-confidence or high-volatility "tester" positions.

Tier 2 (3% Notional): Standard, high-probability setups.

Tier 3 (5% Notional): High-conviction trades where multiple timeframes and factors align.

Execution Workflow (The Poka-Yoke)
To use this HUD effectively and eliminate the "hesitation" identified in the Five Whys analysis, follow this workflow:

Toggle Direction: Set the HUD to Long or Short based on your setup (e.g., NEMA Continuation).

Define Invalidation: Identify your technical stop (default is High/Low of Day +/- 5%). The HUD will automatically calculate the distance to this level.

Check Risk $: Observe the Risk $ row. This tells you exactly how much you will lose in dollars if the stop is hit. If the volatility is extreme (like the SNDK 14% plunge), the HUD will automatically shrink your Shares count to keep this dollar amount constant.

Execute via HUD: Transmit the order using the Shares provided in your selected Tier. Do not manually adjust the size based on "gut feeling".

Trade Management: The "R" Focus
The bottom half of the HUD displays your Targets (PnL / R).

VWAP & Fibonacci Levels: Automatically plots and calculates profit targets at key institutional levels (VWAP, 0.618, 0.786, 0.886).

Binary Exit Logic: The color-coded logic flags any target that yields less than 1R (Reward-to-Risk) as a warning.

Systematic Holding: Ride the trade to the targets or until your technical exit (e.g., 1M candle close above/below NEMA) is triggered, ignoring the fluctuating P&L.

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.