OPEN-SOURCE SCRIPT
Risk/Reward Calculator & Position Size Dashboard

📝 DESCRIPTION (ENGLISH)
Risk/Reward Calculator and Position Size - Professional Dashboard
This advanced indicator helps you plan every trade with mathematical precision, automatically calculating Take Profit, Draw Down, and profits based on your capital, position size, and selected instrument.
KEY FEATURES:
🎯 Smart Take Profit Calculation
Percentage Mode: enter your desired % and the script calculates the exact price
Specific Price Mode: enter your target price and the script calculates the corresponding %
Full support for LONG and SHORT positions
💰 Dynamic Draw Down Management
Set maximum risk in dollars (e.g., $500)
Calculation automatically adapts to your position size
With size 0.01 and $500 risk = 500 points distance
With size 0.02 and $500 risk = 250 points distance
📊 Professional Dashboard
Top-right table with all crucial data
Adjustable size (Small, Normal, Large)
Shows: Capital, Size/Leverage, Value per Point, TP, Profit, DD, Entry Price
📈 Visual Chart Lines
White line: Entry Price
Solid green line: TP Long
Dotted green line: TP Short
Dotted red lines: DD Long and Short (optional)
Adjustable line length
🌍 Multi-Instrument Support
Gold (XAU - 100)
Silver (XAG - 5000)
Standard Forex (EURUSD - 100,000)
Bitcoin (BTC - 1)
Ethereum (ETH - 1)
Indices (US30/NAS100 - 1)
Custom (enter your own multiplier)
HOW TO USE:
Add the indicator to your chart
Open settings (⚙️)
Set your capital and select the instrument
Enter position size and leverage
Choose TP mode (Percentage or Specific Price)
Set Max Draw Down
Read the results in the dashboard!
PRACTICAL EXAMPLE:
Capital: $10,000
Instrument: Gold (XAU)
Size: 0.01 lots
Max DD: $500
Entry: 4218.97 (current price)
TP Mode: Specific Price → 4250
Result: Dashboard shows TP Long at 4250.00 (0.74%), profit of $31.03, DD Long at 3718.97 [-500 pts]
PERFECT FOR:
Traders who want precise calculations before entering positions
Professional risk management
Visual trade planning
Multi-timeframe analysis
Prop trading and demo accounts
____________
📝 DESCRIZIONE (ITALIANO)
Calcolatore Risk/Reward e Position Size - Dashboard Professionale
Questo indicatore avanzato ti aiuta a pianificare ogni trade con precisione matematica, calcolando automaticamente Take Profit, Draw Down e profitti in base al tuo capitale, size e strumento selezionato.
FUNZIONALITÀ PRINCIPALI:
🎯 Calcolo Take Profit Intelligente
Modalità Percentuale: inserisci la % desiderata e lo script calcola il prezzo esatto
Modalità Prezzo Specifico: inserisci il prezzo target e lo script calcola la % corrispondente
Supporto completo per posizioni LONG e SHORT
💰 Gestione Draw Down Dinamica
Imposta il rischio massimo in dollari (es. 500$)
Il calcolo si adatta automaticamente alla tua size
Con size 0.01 e rischio 500$ = 500 punti di distanza
Con size 0.02 e rischio 500$ = 250 punti di distanza
📊 Dashboard Professionale
Tabella in alto a destra con tutti i dati cruciali
Dimensione regolabile (Piccola, Normale, Grande)
Mostra: Capitale, Size/Leva, Valore per Punto, TP, Profitto, DD, Entry Price
📈 Linee Visive sul Grafico
Linea bianca: Prezzo di Entry
Linea verde continua: TP Long
Linea verde tratteggiata: TP Short
Linee rosse tratteggiate: DD Long e Short (opzionali)
Lunghezza linee regolabile
🌍 Supporto Multi-Strumento
Oro (XAU - 100)
Argento (XAG - 5000)
Forex Standard (EURUSD - 100.000)
Bitcoin (BTC - 1)
Ethereum (ETH - 1)
Indici (US30/NAS100 - 1)
Personalizzato (inserisci il tuo moltiplicatore)
COME USARLO:
Aggiungi l'indicatore al grafico
Apri le impostazioni (⚙️)
Imposta il tuo capitale e seleziona lo strumento
Inserisci la size e la leva
Scegli la modalità TP (Percentuale o Prezzo Specifico)
Imposta il Max Draw Down
Leggi i risultati nella dashboard!
ESEMPIO PRATICO:
Capitale: 10.000$
Strumento: Oro (XAU)
Size: 0.01 lotti
Max DD: 500$
Entry: 4218.97 (prezzo attuale)
TP Mode: Prezzo Specifico → 4250
Risultato: La dashboard mostra TP Long a 4250.00 (0.74%), profitto di 31.03$, DD Long a 3718.97 [-500 pts]
PERFETTO PER:
Trader che vogliono calcoli precisi prima di entrare in posizione
Gestione professionale del rischio
Pianificazione visiva dei trade
Multi-timeframe analysis
Prop trading e conti demo
Risk/Reward Calculator and Position Size - Professional Dashboard
This advanced indicator helps you plan every trade with mathematical precision, automatically calculating Take Profit, Draw Down, and profits based on your capital, position size, and selected instrument.
KEY FEATURES:
🎯 Smart Take Profit Calculation
Percentage Mode: enter your desired % and the script calculates the exact price
Specific Price Mode: enter your target price and the script calculates the corresponding %
Full support for LONG and SHORT positions
💰 Dynamic Draw Down Management
Set maximum risk in dollars (e.g., $500)
Calculation automatically adapts to your position size
With size 0.01 and $500 risk = 500 points distance
With size 0.02 and $500 risk = 250 points distance
📊 Professional Dashboard
Top-right table with all crucial data
Adjustable size (Small, Normal, Large)
Shows: Capital, Size/Leverage, Value per Point, TP, Profit, DD, Entry Price
📈 Visual Chart Lines
White line: Entry Price
Solid green line: TP Long
Dotted green line: TP Short
Dotted red lines: DD Long and Short (optional)
Adjustable line length
🌍 Multi-Instrument Support
Gold (XAU - 100)
Silver (XAG - 5000)
Standard Forex (EURUSD - 100,000)
Bitcoin (BTC - 1)
Ethereum (ETH - 1)
Indices (US30/NAS100 - 1)
Custom (enter your own multiplier)
HOW TO USE:
Add the indicator to your chart
Open settings (⚙️)
Set your capital and select the instrument
Enter position size and leverage
Choose TP mode (Percentage or Specific Price)
Set Max Draw Down
Read the results in the dashboard!
PRACTICAL EXAMPLE:
Capital: $10,000
Instrument: Gold (XAU)
Size: 0.01 lots
Max DD: $500
Entry: 4218.97 (current price)
TP Mode: Specific Price → 4250
Result: Dashboard shows TP Long at 4250.00 (0.74%), profit of $31.03, DD Long at 3718.97 [-500 pts]
PERFECT FOR:
Traders who want precise calculations before entering positions
Professional risk management
Visual trade planning
Multi-timeframe analysis
Prop trading and demo accounts
____________
📝 DESCRIZIONE (ITALIANO)
Calcolatore Risk/Reward e Position Size - Dashboard Professionale
Questo indicatore avanzato ti aiuta a pianificare ogni trade con precisione matematica, calcolando automaticamente Take Profit, Draw Down e profitti in base al tuo capitale, size e strumento selezionato.
FUNZIONALITÀ PRINCIPALI:
🎯 Calcolo Take Profit Intelligente
Modalità Percentuale: inserisci la % desiderata e lo script calcola il prezzo esatto
Modalità Prezzo Specifico: inserisci il prezzo target e lo script calcola la % corrispondente
Supporto completo per posizioni LONG e SHORT
💰 Gestione Draw Down Dinamica
Imposta il rischio massimo in dollari (es. 500$)
Il calcolo si adatta automaticamente alla tua size
Con size 0.01 e rischio 500$ = 500 punti di distanza
Con size 0.02 e rischio 500$ = 250 punti di distanza
📊 Dashboard Professionale
Tabella in alto a destra con tutti i dati cruciali
Dimensione regolabile (Piccola, Normale, Grande)
Mostra: Capitale, Size/Leva, Valore per Punto, TP, Profitto, DD, Entry Price
📈 Linee Visive sul Grafico
Linea bianca: Prezzo di Entry
Linea verde continua: TP Long
Linea verde tratteggiata: TP Short
Linee rosse tratteggiate: DD Long e Short (opzionali)
Lunghezza linee regolabile
🌍 Supporto Multi-Strumento
Oro (XAU - 100)
Argento (XAG - 5000)
Forex Standard (EURUSD - 100.000)
Bitcoin (BTC - 1)
Ethereum (ETH - 1)
Indici (US30/NAS100 - 1)
Personalizzato (inserisci il tuo moltiplicatore)
COME USARLO:
Aggiungi l'indicatore al grafico
Apri le impostazioni (⚙️)
Imposta il tuo capitale e seleziona lo strumento
Inserisci la size e la leva
Scegli la modalità TP (Percentuale o Prezzo Specifico)
Imposta il Max Draw Down
Leggi i risultati nella dashboard!
ESEMPIO PRATICO:
Capitale: 10.000$
Strumento: Oro (XAU)
Size: 0.01 lotti
Max DD: 500$
Entry: 4218.97 (prezzo attuale)
TP Mode: Prezzo Specifico → 4250
Risultato: La dashboard mostra TP Long a 4250.00 (0.74%), profitto di 31.03$, DD Long a 3718.97 [-500 pts]
PERFETTO PER:
Trader che vogliono calcoli precisi prima di entrare in posizione
Gestione professionale del rischio
Pianificazione visiva dei trade
Multi-timeframe analysis
Prop trading e conti demo
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。