OPEN-SOURCE SCRIPT
ที่อัปเดต: G Position Size Calculator (Crypto)

G Position Size Calculator (Crypto)
This tool helps traders quickly visualize and calculate risk, position size, leverage, and R:R ratio directly on the chart for crypto trading.
It works similarly to TradingView’s Long/Short Position tool but automatically computes all metrics based on your clicks.
⚙️ How to Use
Add to Chart
Click Indicators → My Scripts → G Position Size Calculator (Crypto)
Set Entry, Stop-Loss, and Take-Profit
Open the script’s ⚙️ Settings.
Click the crosshair icon next to Entry, then click on the chart.
Do the same for Stop-Loss and Take-Profit.
Adjust Account & Risk Settings
Enter your Account Size (USD).
Set your Risk % per trade (default: 1%).
Visual Feedback
A green box shows your profit zone (Entry → TP).
A red box shows your loss zone (Entry → SL).
The label on the right displays:
Risk (% and $)
R:R ratio
Position size (units)
Leverage required
Fine-Tune Without Re-clicking
Use the nudge inputs (Entry, Stop, TP) to move levels up/down by 1 tick at a time.
Positive = up, negative = down.
Re-pick Levels Anytime
Re-open settings and click the crosshair again to redefine a level.
📈 Features
Automatic calculation of risk, position size, leverage, and R:R ratio.
Visual green/red box representing profit and loss areas.
Adjustable risk %, account balance, and label offset.
“Nudge” controls to emulate quick drag adjustments.
Clean layout designed for crypto price charts (works on any symbol).
This tool helps traders quickly visualize and calculate risk, position size, leverage, and R:R ratio directly on the chart for crypto trading.
It works similarly to TradingView’s Long/Short Position tool but automatically computes all metrics based on your clicks.
⚙️ How to Use
Add to Chart
Click Indicators → My Scripts → G Position Size Calculator (Crypto)
Set Entry, Stop-Loss, and Take-Profit
Open the script’s ⚙️ Settings.
Click the crosshair icon next to Entry, then click on the chart.
Do the same for Stop-Loss and Take-Profit.
Adjust Account & Risk Settings
Enter your Account Size (USD).
Set your Risk % per trade (default: 1%).
Visual Feedback
A green box shows your profit zone (Entry → TP).
A red box shows your loss zone (Entry → SL).
The label on the right displays:
Risk (% and $)
R:R ratio
Position size (units)
Leverage required
Fine-Tune Without Re-clicking
Use the nudge inputs (Entry, Stop, TP) to move levels up/down by 1 tick at a time.
Positive = up, negative = down.
Re-pick Levels Anytime
Re-open settings and click the crosshair again to redefine a level.
📈 Features
Automatic calculation of risk, position size, leverage, and R:R ratio.
Visual green/red box representing profit and loss areas.
Adjustable risk %, account balance, and label offset.
“Nudge” controls to emulate quick drag adjustments.
Clean layout designed for crypto price charts (works on any symbol).
เอกสารเผยแพร่
G Position Size Calculator (Crypto)This tool helps traders quickly visualize and calculate risk, position size, leverage, and R:R ratio directly on the chart for crypto trading.
It works similarly to TradingView’s Long/Short Position tool but automatically computes all metrics based on your clicks.
⚙️ How to Use
Add to Chart
Click Indicators → My Scripts → G Position Size Calculator (Crypto)
Set Entry, Stop-Loss, and Take-Profit
Open the script’s ⚙️ Settings.
Click the crosshair icon next to Entry, then click on the chart.
Do the same for Stop-Loss and Take-Profit.
Adjust Account & Risk Settings
Enter your Account Size (USD).
Set your Risk % per trade (default: 1%).
Visual Feedback
A green box shows your profit zone (Entry → TP).
A red box shows your loss zone (Entry → SL).
The label on the right displays:
Risk (% and $)
R:R ratio
Position size (units)
Leverage required
Fine-Tune Without Re-clicking
Use the nudge inputs (Entry, Stop, TP) to move levels up/down by 1 tick at a time.
Positive = up, negative = down.
Re-pick Levels Anytime
Re-open settings and click the crosshair again to redefine a level.
📈 Features
Automatic calculation of risk, position size, leverage, and R:R ratio.
Visual green/red box representing profit and loss areas.
Adjustable risk %, account balance, and label offset.
“Nudge” controls to emulate quick drag adjustments.
Clean layout designed for crypto price charts (works on any symbol).
เอกสารเผยแพร่
Improving codeเอกสารเผยแพร่
Improving codeสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน