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. קרא עוד בתנאים וההגבלות.