Toptrade v3.0

change the name from livermore to toptrade
## 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
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact jinshanwang731 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact jinshanwang731 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.