OPEN-SOURCE SCRIPT

Lot Size Calculator (Dynamic) with Manual Pip Value

145
Devoleper: Sheikh Rakib
This TradingView indicator helps you calculate the correct lot size based on your risk amount in USD and stop loss (SL) in pips. It dynamically detects pip value per lot depending on the trading instrument (e.g., Forex majors, minors, gold, crypto), and also allows manual override if needed.

✅ Key Features:
📏 Input SL in pips and risk amount in USD

⚙️ Automatically detects pip size and pip value per lot

🧮 Calculates lot size based on your inputs

✍️ Manual pip value override option if auto-detection is incorrect

🖥️ Clean, organized info panel displayed on chart

💹 Works with Forex, Gold (XAUUSD), Silver (XAGUSD), BTC, ETH, and more

📘 Usage Tips:
Set your SL in pips and how much you want to risk per trade (USD)

If the pip value is not calculated correctly (rare for exotic pairs), enable and set your own value using the “Manual Pip Value” input

Recommended for scalpers, day traders, and swing traders who want to manage risk smartly

Built with risk management in mind — because consistent trading starts with proper lot sizing.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.