INVITE-ONLY SCRIPT
已更新 Toptrade v3.0

Toptrade v3.0
change the name from livermore to toptrade
change the name from livermore to toptrade
發行說明
# Release Notes## Toptrade v3.0 - Label Offset Improvement
### 🎯 Overview
This release fixes the label positioning issue that caused trading signal labels to appear too far from the K-line charts, especially on high-priced instruments like QQQ.
---
## 📋 Changes
### ✨ New Features
- **Configurable Label Offset**: Added a new input parameter `labelOffsetMultiplier` (default: 0.3) that allows users to adjust the distance between trading signal labels and K-lines
- Range: 0.1 - 2.0
- Step: 0.1
- Tooltip: "Relative multiplier to ATR for calculating label distance from K-line"
### 🐛 Bug Fixes
- **Fixed Label Offset Calculation**: Replaced the fixed offset formula `atrValue * 1.5 + 50` with a more adaptive `atrValue * labelOffsetMultiplier`
- **Problem**: The previous formula caused labels to appear too far from K-lines on high-priced instruments (e.g., QQQ with large ATR values)
- **Solution**: Removed the fixed `+50` offset and made the multiplier configurable, allowing the offset to scale appropriately with different instrument types
---
## 📊 Impact
### Before
- QQQ (ATR = 5): Offset = 5 × 1.5 + 50 = **57.5 points** ❌ Too far
- SPY (ATR = 3): Offset = 3 × 1.5 + 50 = **54.5 points** ❌ Too far
### After
- QQQ (ATR = 5, multiplier = 0.3): Offset = 5 × 0.3 = **1.5 points** ✅ Appropriate
- SPY (ATR = 3, multiplier = 0.3): Offset = 3 × 0.3 = **0.9 points** ✅ Appropriate
---
## 🔧 Configuration
### Recommended Settings by Instrument Type
| Instrument Type | Recommended Multiplier | Notes |
|----------------|------------------------|-------|
| High-priced stocks (QQQ, SPY, AAPL) | 0.2 - 0.4 | Default 0.3 works well |
| Mid-priced stocks | 0.4 - 0.6 | Adjust based on ATR |
| Low-priced stocks | 0.6 - 1.0 | May need higher multiplier |
| Cryptocurrencies | 0.1 - 0.5 | Depends on price level |
| Forex pairs | 0.3 - 0.5 | Usually stable |
---
## 📝 Technical Details
### Modified Code Sections
1. **Input Parameters** (Line ~56)
- Added: `labelOffsetMultiplier` input parameter
2. **Buy Signal Label Positioning** (Line ~209)
- Changed from: `labelOffset = atrValue * 1.5 + 50`
- Changed to: `labelOffset = atrValue * labelOffsetMultiplier`
3. **Sell Signal Label Positioning** (Line ~242)
- Changed from: `labelOffset = atrValue * 1.5 + 50`
- Changed to: `labelOffset = atrValue * labelOffsetMultiplier`
---
---
## 📚 Related Files
- `toptradev3.0.pine` - Main indicator script
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡jinshanwang731。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
📞 Technical Support
Get Help
📧 Email Support: Send your questions to our technical support email
📚 Documentation: Access the complete technical documentation
🎥 Video Tutorials: Watch installation and usage tutorials
💬 Community Discussion: Rednote
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡jinshanwang731。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
📞 Technical Support
Get Help
📧 Email Support: Send your questions to our technical support email
📚 Documentation: Access the complete technical documentation
🎥 Video Tutorials: Watch installation and usage tutorials
💬 Community Discussion: Rednote
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。