OPEN-SOURCE SCRIPT
Position Size Calculator + Live R/R Panel — SMC/ICT (@PueblaATH)

Position Size + Live R/R Panel — SMC/ICT (PueblaATH)
Position Size + Live R/R Panel — SMC/ICT (PueblaATH) is a professional-grade risk management and execution module built for Smart Money Concepts (SMC) and ICT Traders who require accurate, repeatable, institution-style trade planning.
This tool delivers precise position sizing, R:R modeling, leverage and margin projections, fee-adjusted PnL outcomes, and real-time execution metrics—all directly on the chart. Optimized for crypto, forex, and futures, it provides scalpers, day traders, and swing traders with the clarity needed to execute high-quality trades with confidence and consistency.
What the Indicator Does
Institutional Position Sizing Engine
Advanced Risk/Reward & Profit Modeling
Execution Planning with Draggable Levels
Precise modeling of real exchange fee structures
Leverage & Margin Forecasting
Clean HUD Panel for Rapid Decision-Making
Optimized for SMC & ICT Workflows
How to Use It
Originality & Credits
This script is an original creation by PueblaATH, released under the MPL 2.0 license.
It does not copy, modify, or repackage any existing TradingView code.
All logic—including the fee engine, margin calculator, responsive HUD, dynamic risk model, and visual execution system—is authored specifically for this indicator.
Position Size + Live R/R Panel — SMC/ICT (PueblaATH) is a professional-grade risk management and execution module built for Smart Money Concepts (SMC) and ICT Traders who require accurate, repeatable, institution-style trade planning.
This tool delivers precise position sizing, R:R modeling, leverage and margin projections, fee-adjusted PnL outcomes, and real-time execution metrics—all directly on the chart. Optimized for crypto, forex, and futures, it provides scalpers, day traders, and swing traders with the clarity needed to execute high-quality trades with confidence and consistency.
What the Indicator Does
Institutional Position Sizing Engine
- Calculates position size based on account balance, % risk, and SL distance.
- Supports custom minimum lot size rounding across crypto, FX, indices, and derivatives.
- Intelligent direction logic (Auto / Long / Short) based on SMC/ICT structure.
Advanced Risk/Reward & Profit Modeling
- Real-time R:R ratio using actual rounded position size.
- Live PnL readout that updates with price movements.
- Gross & net profit projections with full fee deduction.
Execution Planning with Draggable Levels
- Entry, SL, and TP levels fully draggable for fast scenario modeling.
- Automatic projected lines backward/forward with clean label alignment.
- TP and SL tags include % movement from Entry, ideal for SMC/ICT journaling.
Precise modeling of real exchange fee structures
- Maker fee per side
- Taker fee per side
- Mixed fee modes (Maker entry, Taker exit, Average, etc.)
Leverage & Margin Forecasting
- Margin requirements displayed for 3 customizable leverage settings.
- Helps traders understand capital commitment before executing the trade.
- Useful for futures, crypto perps, and CFD setups.
Clean HUD Panel for Rapid Decision-Making
- A full professional trading panel displays:
- Target & actual risk
- Position size
- Entry / SL / TP
- TP/SL percentage distance
- Gross profit
- Net profit (after fees)
- Fees @ TP and @ SL
- Live PnL
- Margin requirements
Optimized for SMC & ICT Workflows
- Perfect for traders using:
- Breakers, FVGs, OBs
- Liquidity sweeps
- Session models
- Precision entries (OTE, Displacement, Rebalancing)
- Leverage-based execution (crypto perps, futures)
How to Use It
- Attach the indicator to your chart.
- Set account balance, risk %, fee model, and leverage presets.
- Drag Entry, SL, and TP to shape the setup.
- View instant calculations of: Position size; R:R; Net PnL after fees; Margin required
- Use it as your pre-trade checklist & execution model.
Originality & Credits
This script is an original creation by PueblaATH, released under the MPL 2.0 license.
It does not copy, modify, or repackage any existing TradingView code.
All logic—including the fee engine, margin calculator, responsive HUD, dynamic risk model, and visual execution system—is authored specifically for this indicator.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。