PROTECTED SOURCE SCRIPT
Telah dikemas kini Trade Size Calculator By Skapez

Trade Size Calculator By Skapez — ARM it, Drag & Trade!
A simple, position-sizing calculator for easy trader sizing.
It plots Entry / Stop / TP lines, sizes your trade to a fixed % risk (e.g., 2%), calculates leverage, and shows clean labels (Risk $, TP $, Position $, Leverage ×). You can ARM a setup, drag the lines to fine-tune, and (optionally) trigger alerts for webhooks.
What it does:
Fixed-fractional risk: sizes position so SL equals your chosen % of account (e.g., 2%).
Leverage cap & lot rounding: respects your max leverage and exchange lot step.
Drag-to-edit: move Entry/Stop; TP and sizing update automatically.
Swing-stop helper (optional): snap SL to recent swing low/high or nearest pivot. (Auto stop loss finder)
Valid-until window: auto-expires stale setups (e.g., after 120 minutes).
Alerts-ready: add your own JSON in the alert to send to a bot/webhook.
Quick start (60 seconds)
Add to chart and open Settings.
In Risk, set:
Account Balance (USD) and Risk % (e.g., 2.0).
Side (Long/Short).
In Levels:
Put an Entry price (or leave 0 to use current price when you ARM).
Choose Stop: type it manually or toggle Swing stop helper.
Pick your Target R multiple (e.g., 3.0 for 3:1).
In Leverage, set:
Leverage Cap (e.g., 10×) and Min/Step Size (e.g., 0.001 BTC).
Toggle ARM on. Three lines appear. Drag the blue/red lines if needed; the green TP and all numbers update.
Tip: Pin the indicator to the Right Price Scale (format icon → “Pin to scale”) so everything lines up perfectly.
On-chart visuals
Blue = Entry (label shows Position $ and Leverage × to the far right).
Red = Stop (label shows Risk $).
Green = TP (label shows TP P&L $).
Works on any symbol/timeframe; prices are rounded to the symbol’s tick size.
That’s it—arm, drag, and go.
A simple, position-sizing calculator for easy trader sizing.
It plots Entry / Stop / TP lines, sizes your trade to a fixed % risk (e.g., 2%), calculates leverage, and shows clean labels (Risk $, TP $, Position $, Leverage ×). You can ARM a setup, drag the lines to fine-tune, and (optionally) trigger alerts for webhooks.
What it does:
Fixed-fractional risk: sizes position so SL equals your chosen % of account (e.g., 2%).
Leverage cap & lot rounding: respects your max leverage and exchange lot step.
Drag-to-edit: move Entry/Stop; TP and sizing update automatically.
Swing-stop helper (optional): snap SL to recent swing low/high or nearest pivot. (Auto stop loss finder)
Valid-until window: auto-expires stale setups (e.g., after 120 minutes).
Alerts-ready: add your own JSON in the alert to send to a bot/webhook.
Quick start (60 seconds)
Add to chart and open Settings.
In Risk, set:
Account Balance (USD) and Risk % (e.g., 2.0).
Side (Long/Short).
In Levels:
Put an Entry price (or leave 0 to use current price when you ARM).
Choose Stop: type it manually or toggle Swing stop helper.
Pick your Target R multiple (e.g., 3.0 for 3:1).
In Leverage, set:
Leverage Cap (e.g., 10×) and Min/Step Size (e.g., 0.001 BTC).
Toggle ARM on. Three lines appear. Drag the blue/red lines if needed; the green TP and all numbers update.
Tip: Pin the indicator to the Right Price Scale (format icon → “Pin to scale”) so everything lines up perfectly.
On-chart visuals
Blue = Entry (label shows Position $ and Leverage × to the far right).
Red = Stop (label shows Risk $).
Green = TP (label shows TP P&L $).
Works on any symbol/timeframe; prices are rounded to the symbol’s tick size.
That’s it—arm, drag, and go.
Nota Keluaran
A practical tool to plan, size, and execute consistent risk-reward trades with less friction. It keeps the chart clean, standardizes risk per trade, and lets you flip from planning to action with one switch: ARM / DISARM.What it does
ARM / DISARM workflow: Edit freely while DISARMED; when you ARM, the setup is snapshotted, a validity timer starts, and alerts go live.
Consistent RR: TP auto-places at R × (Entry→Stop), default 3:1 RR.
Position sizing: Risk a fixed % of equity; size is calculated to your Stop and respects a Leverage Cap.
Clear visuals: Entry / Stop / TP lines that can be drag & dropped and auto recalculate for ease of use.
USD ↔ BTC amounts: Show risk, reward, and notional in USD, BTC, or both—no manual conversion required!
Optional Auto l SL: toggle on or off, automatic structurally sound SL suggestion without altering RR or drawdown
Safety rails: Enforce Stop on the correct side of Entry and optionally require a minimum Stop distance.
Flexible entries: Trigger on Touch, Cross, or Limit with a small buffer.
Time restricted alerts: Auto-expire if not triggered in time.
Summary panel: One block with Entry, Stop, TP, Size, Risk, Reward, Notional, and Expiry for quick manual order entry.
Automation-friendly: Use TradingView alerts; optional ARM snapshot alert for logging in journals or webhooks for bot use.
Quick start
Set Account Balance and Risk %.
Choose Side and drag Entry / Stop; TP auto-updates to 3R. (Or enable the swing stop helper.)
Pick Entry Trigger (Touch/Cross/Limit) and Valid for (minutes).
Check the Copy/Paste panel for exact values (USD/BTC).
Toggle ARM to activate the plan and alerts.
Risk controls built in
Why it’s useful
Reduces decision noise by separating planning from execution.
Keeps risk consistent trade to trade.
Speeds up manual entry with a clean summary panel.
Plays nicely with automation when you’re ready.
If you want the simplest experience, use the defaults (2% risk, 3R, Touch trigger, validity window). Power users can enable the stop helper, tweak buffers, and wire alerts to bots.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.