Crypto Position Size + TP Profit (USDT)

This indicator helps you calculate proper position size, risk, and profit for crypto trades using current market price, with Stop Loss (SL) and Take Profit (TP) defined as price levels in USDT.
It is designed for spot and USDT-margined perpetual futures traders who want consistent risk management.
🔢 What this indicator does
Based on your inputs, it automatically calculates:
Risk Amount (USDT)
→ How much you are risking on the trade
Position Size (USDT notional)
→ How large your position should be so that loss at SL equals your risk
Stop Loss % (implicit)
→ Derived from Entry → SL distance
Take Profit Profit (USDT)
→ How much you will earn if TP is hit
Risk-to-Reward (R:R)
→ TP distance ÷ SL distance
Implied Leverage (optional)
→ If position size exceeds capital
📥 Inputs
Capital (USDT) – Total account size
Risk per Trade (%) – % of capital you are willing to risk
Direction – Long or Short
Stop Loss Price (USDT) – Exact SL price level
Take Profit Price (USDT) – Exact TP price level
Entry Price Source – Uses current market price (Close / HL2 / Open)
📐 How position size is calculated
Risk Amount
Capital × Risk %
Stop Loss distance (relative to entry)
|Entry − SL| ÷ Entry
Position Size (USDT)
Risk Amount ÷ SL distance
TP Profit (USDT)
Position Size × (|TP − Entry| ÷ Entry)
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ danish07shabbir โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ danish07shabbir โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา