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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.