OPEN-SOURCE SCRIPT
업데이트됨

Candle Size & Risk Manager - D.A.T

313
בכיף! הנה תיאור מקצועי, ברור ומסודר באנגלית שתוכל פשוט להעתיק ולהדביק כשאתה מפרסם או שומר את האינדיקטור ב-TradingView:

Candle Size & Risk Manager

Overview
The Candle Size & Risk Manager is a clean, non-intrusive tool designed to help traders calculate their exact position size instantly based on a predefined dollar risk. Instead of cluttering your chart with annoying floating labels, this indicator uses a smart Table UI and TradingView's built-in Status Line to give you the exact data you need, exactly when you need it.

Key Features

Dynamic Position Sizing: Automatically calculates how many contracts/shares to buy or sell based on your specific Risk (USD) and the High-Low range of the candle (Entry at one end, Stop Loss at the other).

Smart Table UI (Prev & Curr): A minimal, customizable table displays the statistics for the previously closed candle side-by-side with the current live candle. The live candle data is slightly transparent, allowing you to focus on the confirmed, closed candle for precise execution.

Hover for Historical Data: Want to backtest or check a previous setup? Simply hover your crosshair over any historical candle. The exact Quantity (Qty), Stop Distance, and Candle Value will instantly update in the Status Line and Data Window at the top of your screen.

Auto Point Value Detection: Built-in automatic detection for popular futures tickers (e.g., NQ, MNQ, ES, MES), with an option to manually override the point value for other instruments or stocks.

Long/Short Toggle: Easily switch between Long (Entry at High/Low, Stop at the opposite) and Short scenarios directly from the settings to adapt your risk calculation on the fly.

How to Use

Set your fixed Risk per Trade in USD.

Choose your intended position direction (Long or Short).

Check the corner table for immediate execution sizing on the last closed candle, or hover over past price action to study your setups cleanly.
릴리즈 노트
What's New:

Actual Risk Calculation: Added a backend calculation (actualRiskDollars) that multiplies the recommended, rounded-down position size by the dollar risk per contract/share of that specific candle.

New Table Row: Added a dedicated "Actual Risk" row to the visual table for both the Previous (closed) and Current (live) candles. This value is color-coded in red so you can spot your true monetary risk at a glance.

Status Line Integration: The Actual Risk has also been added to the top Status Line and Data Window, meaning it will dynamically update when you hover over any historical candle.

Why this matters:
Because this indicator responsibly rounds down your position size to ensure you never exceed your maximum risk limit, your actual risk in a trade is often slightly lower than your inputted max risk.
For example, if your max risk is $100 and the math suggests 1.8 contracts, the script will tell you to buy 1 contract. Your actual risk is no longer $100, but rather the exact dollar size of the stop loss for that 1 contract.
Seeing this precise "Actual Risk" number is crucial for traders, as it prevents skewed Risk:Reward (R:R) expectations and helps you calculate your exact profit targets accurately.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.