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. اقرأ المزيد في شروط الاستخدام.