PROTECTED SOURCE SCRIPT

Crypto Position Calculator

18
Alpha2Million - Crypto Position Calculator (Margin, Leverage, % Fees, Exchange Presets)

This script is a crypto trading risk & position calculator built directly into TradingView.
It helps futures/perpetual traders size positions, calculate margin requirements, and visualize risk-to-reward levels on the chart — with exchange fee presets for real-world accuracy.

• Position Sizing by Risk %
• Enter account size and % risk per trade.
• Script calculates exact position size (coins) based on SL distance.
• Leverage & Margin
• Shows required notional and margin (USDT) for the trade.
• Exchange Fee Presets
• Supports Binance, Bybit, Pionex, MEXC, Gate.io, KuCoin, HTX.
• Maker vs Taker fee selection.
• Custom option to enter your own per-side fee %.
• Fee Breakeven Line (Orange)
• Plots the exact price level you need to reach to cover entry + exit fees.
• Lets you see how far price must move before you are at true breakeven.
• Risk vs Reward Calculation
• Risk is calculated on price movement only (SL distance).
• Profit targets include fees, so “1R / 2R / 3R (net)” lines show realistic levels.
• Smart Table Display
• Account size, leverage, entry, stop, target.
• Position size (coins), notional (USDT), required margin.
• Risk at SL, fees (round trip), fee breakeven move/price.
• Profit @ TP (after fees) and net RR.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.