OPEN-SOURCE SCRIPT
Aggiornato LotSize Calculator - psyplo

This indicator provides a convenient on-chart lot size calculator designed to assist traders with precise position sizing based on account balance, risk tolerance, and trade parameters.
Key Features:
Custom Account Sizing: Define your account size and risk percentage per trade.
Flexible Risk Units: Choose between percentage or fixed currency risk models.
Support for Multiple Currencies: Select from a wide range of currencies including USD, EUR, GBP, INR, and even crypto options like USDT.
Dual Sizing Methods: Configure position size using either quantity or lot-based models, with optional rounding.
Visual Trade Levels: Displays configurable entry, stop loss (SL), and take profit (TP) lines on the chart.
Style Customization: Customize the color, line style, and visibility of each level for better chart readability.
Ideal Use Case:
Designed for manual traders seeking real-time clarity and consistency in risk management without needing to calculate lot size externally.
Disclaimer:
This tool is for informational purposes only. Always practice responsible risk management and perform due diligence before trading.
Key Features:
Custom Account Sizing: Define your account size and risk percentage per trade.
Flexible Risk Units: Choose between percentage or fixed currency risk models.
Support for Multiple Currencies: Select from a wide range of currencies including USD, EUR, GBP, INR, and even crypto options like USDT.
Dual Sizing Methods: Configure position size using either quantity or lot-based models, with optional rounding.
Visual Trade Levels: Displays configurable entry, stop loss (SL), and take profit (TP) lines on the chart.
Style Customization: Customize the color, line style, and visibility of each level for better chart readability.
Ideal Use Case:
Designed for manual traders seeking real-time clarity and consistency in risk management without needing to calculate lot size externally.
Disclaimer:
This tool is for informational purposes only. Always practice responsible risk management and perform due diligence before trading.
Note di rilascio
This indicator provides a convenient on-chart lot size calculator designed to assist traders with precise position sizing based on account balance, risk tolerance, and trade parameters.Key Features:
Custom Account Sizing: Define your account size and risk percentage per trade.
Support for Multiple Currencies: Select from a wide range of currencies including USD, EUR, GBP, INR, and even crypto options like USDT.
Dual Sizing Methods: Configure position size using either quantity or lot-based models, with optional rounding.
Visual Trade Levels: Displays configurable entry, stop loss (SL), and take profit (TP) lines on the chart.
Style Customization: Customize the color, line style, and visibility of each level for better chart readability.
Ideal Use Case:
Designed for manual traders seeking real-time clarity and consistency in risk management without needing to calculate lot size externally.
Disclaimer:
This tool is for informational purposes only. Always practice responsible risk management and perform due diligence before trading.
Release Notes: Session 2025-06-23
Added
- Risk-reward ratio, profit in account currency, and risk in account currency displayed in the table.
- Toggle options to selectively show/hide each row in the table (e.g., Entry, TP, SL, Profit, Risk, RR, Lots/Qty).
- Table color customization for each individual row via user-defined input.
- Tooltip descriptions for most input fields to improve user understanding.
- Currency formatting logic to display ₹, $ or currency code appropriately.
Changed
- Currency conversion function rewritten to avoid runtime errors and ensure compatibility across various asset types and user-selected currencies.
- Risk Unit input section removed; now always assumes percentage-based risk calculation.
- Input sections refactored and organized into logical groups:
- Trade Sizing
- Line Settings (subdivided into Colors, Type & Thickness, Visibility)
- Table Settings (General, Toggles, Colors)
- Reordered script structure so all variables are computed before being used in the table logic (to avoid undeclared variable errors).
Fixed
- Syntax errors related to line breaks and mismatched return types.
- Table disappearing or failing to display when non-default currency was selected.
- Redundant or invalid parameter entries in table.cell() functions.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.