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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。