PROTECTED SOURCE SCRIPT
更新済 Position Size Calculator - R & ATR v1

# Position Size Calculator - R & ATR
Professional position sizing tool for crypto traders using risk management principles and ATR-based stop loss placement.
## Features
✅ **Automatic ATR Calculation** - Uses ATR(14) by default, customizable period
✅ **Risk Management** - Calculate position size based on portfolio % risk
✅ **Tranche Support** - Split positions into multiple entries
✅ **Visual Stop Loss** - Red line showing stop loss placement on chart
✅ **Real-time Results** - Table displays all calculations instantly
✅ **Clean Interface** - Professional table with all key metrics
## How It Works
The indicator calculates optimal position size using this formula:
1. **Risk Amount** = Portfolio Size × (Risk % / 100)
2. **Stop Distance** = ATR × Multiplier
3. **Stop Loss Price** = Entry Price - Stop Distance
4. **Position Size** = Risk Amount / Stop Distance
5. **Tranche Size** = Position Size / Number of Tranches
## Settings
**Portfolio & Risk**
- Portfolio Size (USD): Your total trading capital
- Risk per Trade (R in %): Percentage of portfolio to risk per trade
- Number of Tranches: Split position into multiple entries
**ATR Settings**
- ATR Length: Period for ATR calculation (default: 14)
- ATR Multiplier: Multiply ATR for stop loss distance (0.5x, 1x, 1.5x, etc.)
**Display**
- Show Stop Loss Line: Toggle red stop loss line on chart
- Show Calculation Table: Toggle results table
## Results Displayed
- Risk Amount (1R): Dollar amount risked on trade
- Stop Distance: Distance from entry to stop loss
- Stop Loss: Exact stop loss price
- Risk per Coin: Amount risked per unit
- Position Size (coins): Number of coins to buy
Professional position sizing tool for crypto traders using risk management principles and ATR-based stop loss placement.
## Features
✅ **Automatic ATR Calculation** - Uses ATR(14) by default, customizable period
✅ **Risk Management** - Calculate position size based on portfolio % risk
✅ **Tranche Support** - Split positions into multiple entries
✅ **Visual Stop Loss** - Red line showing stop loss placement on chart
✅ **Real-time Results** - Table displays all calculations instantly
✅ **Clean Interface** - Professional table with all key metrics
## How It Works
The indicator calculates optimal position size using this formula:
1. **Risk Amount** = Portfolio Size × (Risk % / 100)
2. **Stop Distance** = ATR × Multiplier
3. **Stop Loss Price** = Entry Price - Stop Distance
4. **Position Size** = Risk Amount / Stop Distance
5. **Tranche Size** = Position Size / Number of Tranches
## Settings
**Portfolio & Risk**
- Portfolio Size (USD): Your total trading capital
- Risk per Trade (R in %): Percentage of portfolio to risk per trade
- Number of Tranches: Split position into multiple entries
**ATR Settings**
- ATR Length: Period for ATR calculation (default: 14)
- ATR Multiplier: Multiply ATR for stop loss distance (0.5x, 1x, 1.5x, etc.)
**Display**
- Show Stop Loss Line: Toggle red stop loss line on chart
- Show Calculation Table: Toggle results table
## Results Displayed
- Risk Amount (1R): Dollar amount risked on trade
- Stop Distance: Distance from entry to stop loss
- Stop Loss: Exact stop loss price
- Risk per Coin: Amount risked per unit
- Position Size (coins): Number of coins to buy
リリースノート
Position Size Calculator with Long and Short supportCalculate optimal position size based on Risk (R) and ATR for both long and short positions.
NEW in this version:
✅ Support for SHORT positions
✅ Automatic stop loss adjustment (above entry for shorts, below for longs)
✅ Position Type selector in settings (Long/Short)
Features:
- ATR-based stop loss calculation
- Risk management (% of portfolio)
- Tranche support for scaling into positions
- Visual stop loss line on chart
- Real-time calculation table
- Customizable ATR period and multiplier
Perfect for crypto traders using daily or weekly charts.
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。