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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。