PROTECTED SOURCE SCRIPT
Crypto Position Calculator

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.
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.
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 無料かつ制限なしでご利用いただけます ― 詳細についてはこちらをご覧ください。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 無料かつ制限なしでご利用いただけます ― 詳細についてはこちらをご覧ください。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。