PROTECTED SOURCE SCRIPT
Multi-Entry Position Sizer

Multi-Entry Position Sizer (with Risk, Margin & Tables)
This tool is designed for traders who manage multiple staggered entries (scaling in) with fixed risk allocation. It calculates position sizes, margin requirements, and liquidation levels for up to 5 custom entry points, based on a defined stop loss and wallet risk.
🔧 Features
Entry Management
Supports up to 5 entries.
Use 0 to ignore an entry, -1 to auto-use current price.
Valid entries are drawn as colored dashed lines.
Invalid entries (e.g., entry on wrong side of stop loss) are flagged with red dotted lines and labels.
Risk Control
Risk defined in Direct USDT or % of wallet size.
Risk automatically split across all valid entries.
Per-entry quantity and margin calculated dynamically.
Visualization
Stop loss line in red.
Liquidation levels drawn as faded dotted lines.
Entry labels show price and required margin in USDT.
Summary table (top-right) with symbol, side, risk, SL, leverage.
Entries table (bottom-right) listing each valid entry with:
Price
Quantity
Margin in USDT
Risk/entry in USDT
Liquidation level
Alerts
Alerts trigger when price touches a valid entry.
Separate alert for stop loss hit.
📊 How to Use
Select Side (Long or Short).
Enter your Wallet Size, Risk Parameters, and Leverage.
Define your Stop Loss Price.
Configure up to 5 Entry Points.
0 = disabled
-1 = current market price
Any positive value = custom entry price
Watch tables and chart update automatically:
Invalid entries turn red (ignored in sizing).
Valid entries show correct margin and liquidation prices.
✅ Who Is It For?
Traders who scale in with multiple orders.
Traders who want precise risk per trade.
Anyone who needs to see margin requirements and liquidation prices before placing orders.
⚠️ Disclaimer:
This script is for educational purposes. It does not place orders automatically and should not be considered financial advice. Always double-check calculations with your exchange before trading.
This tool is designed for traders who manage multiple staggered entries (scaling in) with fixed risk allocation. It calculates position sizes, margin requirements, and liquidation levels for up to 5 custom entry points, based on a defined stop loss and wallet risk.
🔧 Features
Entry Management
Supports up to 5 entries.
Use 0 to ignore an entry, -1 to auto-use current price.
Valid entries are drawn as colored dashed lines.
Invalid entries (e.g., entry on wrong side of stop loss) are flagged with red dotted lines and labels.
Risk Control
Risk defined in Direct USDT or % of wallet size.
Risk automatically split across all valid entries.
Per-entry quantity and margin calculated dynamically.
Visualization
Stop loss line in red.
Liquidation levels drawn as faded dotted lines.
Entry labels show price and required margin in USDT.
Summary table (top-right) with symbol, side, risk, SL, leverage.
Entries table (bottom-right) listing each valid entry with:
Price
Quantity
Margin in USDT
Risk/entry in USDT
Liquidation level
Alerts
Alerts trigger when price touches a valid entry.
Separate alert for stop loss hit.
📊 How to Use
Select Side (Long or Short).
Enter your Wallet Size, Risk Parameters, and Leverage.
Define your Stop Loss Price.
Configure up to 5 Entry Points.
0 = disabled
-1 = current market price
Any positive value = custom entry price
Watch tables and chart update automatically:
Invalid entries turn red (ignored in sizing).
Valid entries show correct margin and liquidation prices.
✅ Who Is It For?
Traders who scale in with multiple orders.
Traders who want precise risk per trade.
Anyone who needs to see margin requirements and liquidation prices before placing orders.
⚠️ Disclaimer:
This script is for educational purposes. It does not place orders automatically and should not be considered financial advice. Always double-check calculations with your exchange before trading.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.