OPEN-SOURCE SCRIPT
Seba'sCalc

Seba'sCalc is a lightweight trade planning table that sits directly on your
chart. Fill in four inputs and every key metric is calculated instantly.
────────────────────────────────────────
WHAT IT DISPLAYS
────────────────────────────────────────
• Amount — Your total invested capital
• Risk — Actual dollars at risk if SL is hit
[ Qty × (Entry − SL) ]
• Qty — Position size based on your amount and entry
[ Amount ÷ Entry ]
• Entry — Your planned entry price
• TP — Take Profit level
• SL — Stop Loss level
• Profit — Expected dollar gain if TP is hit
[ Qty × (TP − Entry) ]
• Risk/Reward — Ratio of potential profit to potential loss
[ Profit ÷ Risk ]
────────────────────────────────────────
INPUTS
────────────────────────────────────────
All you need to enter is:
→ Invested Amount
→ Entry Price
→ Take Profit (TP)
→ Stop Loss (SL)
────────────────────────────────────────
CUSTOMIZATION
────────────────────────────────────────
• Theme — Dark (high contrast black) or Light (clean white/grey)
• Position — Place the table anywhere on the chart
• Text Size — Tiny / Small / Normal / Large
• Profit value turns green on a winning trade, red on a losing one
────────────────────────────────────────
WORKS ON ALL ASSETS
────────────────────────────────────────
Crypto, Forex, Stocks, Commodities — any market where you
define your own entry, TP, and SL.
────────────────────────────────────────
HOW TO USE
────────────────────────────────────────
1. Add the indicator to your chart
2. Open Settings (gear icon)
3. Enter your Amount, Entry, TP, and SL
4. The table updates instantly on the last bar
No repainting. No signals. Pure planning tool.
chart. Fill in four inputs and every key metric is calculated instantly.
────────────────────────────────────────
WHAT IT DISPLAYS
────────────────────────────────────────
• Amount — Your total invested capital
• Risk — Actual dollars at risk if SL is hit
[ Qty × (Entry − SL) ]
• Qty — Position size based on your amount and entry
[ Amount ÷ Entry ]
• Entry — Your planned entry price
• TP — Take Profit level
• SL — Stop Loss level
• Profit — Expected dollar gain if TP is hit
[ Qty × (TP − Entry) ]
• Risk/Reward — Ratio of potential profit to potential loss
[ Profit ÷ Risk ]
────────────────────────────────────────
INPUTS
────────────────────────────────────────
All you need to enter is:
→ Invested Amount
→ Entry Price
→ Take Profit (TP)
→ Stop Loss (SL)
────────────────────────────────────────
CUSTOMIZATION
────────────────────────────────────────
• Theme — Dark (high contrast black) or Light (clean white/grey)
• Position — Place the table anywhere on the chart
• Text Size — Tiny / Small / Normal / Large
• Profit value turns green on a winning trade, red on a losing one
────────────────────────────────────────
WORKS ON ALL ASSETS
────────────────────────────────────────
Crypto, Forex, Stocks, Commodities — any market where you
define your own entry, TP, and SL.
────────────────────────────────────────
HOW TO USE
────────────────────────────────────────
1. Add the indicator to your chart
2. Open Settings (gear icon)
3. Enter your Amount, Entry, TP, and SL
4. The table updates instantly on the last bar
No repainting. No signals. Pure planning tool.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.