OPEN-SOURCE SCRIPT
Gestore Visivo del Rischio Adattabile

This Pine Script indicator is a dynamic Risk Management Visual Tool designed for discretionary traders who want precise, real-time control over position sizing and trade planning. It automatically adapts to the currency pair you're trading and calculates key risk metrics based on your inputs.
🔧 Features:
- Auto-detects the active symbol and adjusts pip value calculations accordingly (including JPY pairs and USD as base or quote).
- Calculates:
- Pip value based on current price and pair structure
- Ideal position size (lots) based on account capital, risk %, and stop loss
- Risk in USD per trade
- Expected profit in USD
- Risk-to-Reward ratio (R/R)
- Displays all metrics in a clean, real-time on-chart table
- Fully customizable inputs: capital, risk %, stop loss, take profit, and lot size base
🧠 Ideal for:
- Traders who want to enforce consistent risk management
- Those preparing for prop firm challenges or scaling strategies
- Anyone trading multiple pairs and needing automatic pip value adaptation
Italian
🔧 Features:
- Auto-detects the active symbol and adjusts pip value calculations accordingly (including JPY pairs and USD as base or quote).
- Calculates:
- Pip value based on current price and pair structure
- Ideal position size (lots) based on account capital, risk %, and stop loss
- Risk in USD per trade
- Expected profit in USD
- Risk-to-Reward ratio (R/R)
- Displays all metrics in a clean, real-time on-chart table
- Fully customizable inputs: capital, risk %, stop loss, take profit, and lot size base
🧠 Ideal for:
- Traders who want to enforce consistent risk management
- Those preparing for prop firm challenges or scaling strategies
- Anyone trading multiple pairs and needing automatic pip value adaptation
Italian
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.