OPEN-SOURCE SCRIPT

Position Size Calculator Plus

1 131
Position Size Calculator Plus

A visual trade planning tool designed to help traders calculate precise position sizing directly on the chart using risk-based logic.

This indicator plots your entry, stop loss, and target, while automatically calculating:

Position size based on risk %
Risk-to-reward ratio (R:R)
Stop and target distance (price + %)
Required margin based on leverage
Cash risk at stop loss
Projected profit at target
Estimated lot size
⚙️ Features
Account presets: 25K / 50K / 100K / Custom
Adjustable risk percentage
Leverage-based margin calculation (ideal for prop firm trading)
Real-time R:R visualization
Clean on-chart labels for:
Entry
Stop Loss
Target
Tooltip summary for quick trade evaluation
🎯 How to Use
Enter your entry, stop loss, and target price
Select your account size (or custom balance)
Set your risk % and leverage
Instantly view position size, margin, and R:R directly on the chart
🧠 Credits

Original script by zzzcrypto123
Modified and enhanced by Luckyjimbob111
Licensed under the Mozilla Public License 2.0

⚠️ Disclaimer

This tool is for educational purposes only and does not constitute financial advice. Always manage your own risk.

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.