OPEN-SOURCE SCRIPT
Position Size Calculator Plus

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.
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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。