feat: Add Phase 4 advanced metrics and components
- Add advanced metrics dashboard with trade analytics - Add new trading components (EntryTypeAnalysis, MultiDayPositionTracker, NewsEventTracker, etc.) - Add strategy mode selector and trend confirmation - Add risk automation panel and slippage correlation analysis - Add daily trading plan enhancements with modal components - Add custom hooks (useApi, useLocalStorage, useAdvancedTradeMetrics) - Add broker service integration and trading API - Add test setup and vitest configuration - Include parquet data files for live market data - Add comprehensive documentation in docs/ folder
This commit is contained in:
@@ -0,0 +1,280 @@
|
||||
# 🎯 Strategy Mode Selector - Quick Start Guide
|
||||
|
||||
## What Changed?
|
||||
|
||||
Your Daily Trading Plan now has a **Strategy Mode Toggle** that instantly reconfigures your entire trading setup!
|
||||
|
||||
---
|
||||
|
||||
## 3 Modes Available
|
||||
|
||||
### ⚡ SCALP Mode
|
||||
**For: Quick profits, high frequency trading**
|
||||
|
||||
```
|
||||
Daily Target: $50 (vs $500 in Swing)
|
||||
Max Loss: $12.50 (vs $250 in Swing)
|
||||
Max Trades: 20/day
|
||||
Time Frame: 1-minute charts
|
||||
Stop Loss: 0.5% (TIGHT!)
|
||||
Take Profit: 1% (QUICK!)
|
||||
R:R Ratio: 1:1
|
||||
Max Hold: 5 minutes
|
||||
|
||||
✅ Use When:
|
||||
- You want daily income
|
||||
- Market is choppy/ranging
|
||||
- You have time to watch charts
|
||||
- You execute fast (sub-1 second)
|
||||
|
||||
❌ Avoid When:
|
||||
- Strong trend forming (waste of capital)
|
||||
- Low volatility hours
|
||||
- You're tired (speed matters!)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 📈 SWING Mode
|
||||
**For: Trend capture, multi-day holds**
|
||||
|
||||
```
|
||||
Daily Target: $500
|
||||
Max Loss: $250
|
||||
Max Trades: 3/day
|
||||
Time Frame: Daily charts
|
||||
Stop Loss: 2% (PROTECTIVE)
|
||||
Take Profit: 8% (TREND CAPTURE!)
|
||||
R:R Ratio: 1:3
|
||||
Max Hold: 24+ hours
|
||||
|
||||
✅ Use When:
|
||||
- Clear uptrend/downtrend visible
|
||||
- RSI + EMA aligned
|
||||
- Supporting news/fundamentals
|
||||
- You want to sleep well
|
||||
|
||||
❌ Avoid When:
|
||||
- Choppy, ranging market
|
||||
- Before major events (FOMC, NFP)
|
||||
- You're overconfident
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 🎯 HYBRID Mode (RECOMMENDED)
|
||||
**For: Balanced trading, best of both worlds**
|
||||
|
||||
```
|
||||
Daily Target: $250
|
||||
Max Loss: $125
|
||||
Max Trades: 10/day
|
||||
Time Frame: Both 1m and daily
|
||||
Stop Loss: 1.25%
|
||||
Take Profit: 4.5%
|
||||
R:R Ratio: 1:2
|
||||
Max Hold: 2 hours
|
||||
|
||||
Capital Allocation:
|
||||
- 70% → SWING trades (trend capture)
|
||||
- 30% → SCALP trades (daily income)
|
||||
|
||||
✅ Why HYBRID?
|
||||
- Swings = less stressful, bigger profits
|
||||
- Scalps = daily income, psychological comfort
|
||||
- Combined = more total profit
|
||||
- Reduced drawdown
|
||||
- Better sleep quality
|
||||
|
||||
Example Day:
|
||||
Morning: Enter swing trade (2000oz at $2020)
|
||||
Throughout: Do 5-8 scalps (100oz each)
|
||||
End of day: Swing still open, +$200 scalps captured
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## How to Switch Modes
|
||||
|
||||
### In Daily Trading Plan Component:
|
||||
|
||||
1. **Open Daily Trading Plan** (in Prep tab)
|
||||
2. **Look for Strategy Mode buttons** (or card if desktop)
|
||||
3. **Click SCALP / SWING / HYBRID** button
|
||||
4. ✨ **Plan auto-updates instantly!**
|
||||
|
||||
That's it! Your:
|
||||
- Daily target ✅
|
||||
- Max loss ✅
|
||||
- Entry zone ✅
|
||||
- Stop loss ✅
|
||||
- Take profit ✅
|
||||
- Max trades ✅
|
||||
|
||||
All recalculate automatically!
|
||||
|
||||
---
|
||||
|
||||
## Side-by-Side Comparison
|
||||
|
||||
### Entry Parameters
|
||||
| Feature | Scalp | Swing | Hybrid |
|
||||
|---------|-------|-------|--------|
|
||||
| Position Size | 0.25% capital | 2% capital | 1.25% capital |
|
||||
| Stop Distance | 0.5% | 2% | 1.25% |
|
||||
| Target Distance | 1% | 8% | 4.5% |
|
||||
|
||||
### Time Parameters
|
||||
| Feature | Scalp | Swing | Hybrid |
|
||||
|---------|-------|-------|--------|
|
||||
| Chart TF | 1m | Daily | Mixed |
|
||||
| Max Hold | 5 min | 24+ h | 2 hours |
|
||||
| Avg Trade Time | 1-3 min | 1-5 days | 30 min - 2h |
|
||||
|
||||
### Daily Limits
|
||||
| Feature | Scalp | Swing | Hybrid |
|
||||
|---------|-------|-------|--------|
|
||||
| Max Trades | 20 | 3 | 10 |
|
||||
| Daily Target | $50 | $500 | $250 |
|
||||
| Max Daily Loss | $12.50 | $250 | $125 |
|
||||
|
||||
---
|
||||
|
||||
## 💡 Pro Tips
|
||||
|
||||
### For Scalpers Using SCALP Mode:
|
||||
```
|
||||
1. Set alerts on 1m candles ONLY
|
||||
2. Close 50% at 0.5% profit, let 50% run to 1%
|
||||
3. NO overnight holds - always flatten
|
||||
4. Time entries with 0-1 min confirmation
|
||||
5. Avoid 6pm-8pm EST (low volatility)
|
||||
6. Avoid news events (too gappy)
|
||||
```
|
||||
|
||||
### For Swing Traders Using SWING Mode:
|
||||
```
|
||||
1. Enter only with trend confirmation:
|
||||
✅ RSI > 50 (for long)
|
||||
✅ EMA(20) > EMA(50) (uptrend)
|
||||
✅ Price > Daily Support
|
||||
2. Partial profit-taking at:
|
||||
- +33% profit = close 1/3
|
||||
- +66% profit = close 1/3
|
||||
- +100% profit = close 1/3 with trail
|
||||
3. Never hold through news (NFP, FOMC, etc)
|
||||
4. Use trailing stops after 1.5% profit
|
||||
```
|
||||
|
||||
### For Hybrid Traders Using HYBRID Mode:
|
||||
```
|
||||
Capital Split:
|
||||
- $7,000 → Swing account (big trends)
|
||||
- $3,000 → Scalp account (daily income)
|
||||
|
||||
Morning Routine:
|
||||
1. Check daily chart for swing setup
|
||||
2. If setup valid → Enter 70% of swing capital
|
||||
3. Throughout day → Do 3-5 scalp trades
|
||||
4. End day → Check swing P&L, add notes
|
||||
|
||||
Result:
|
||||
- Swing captures big trends ($100-500)
|
||||
- Scalps provide daily buffer ($50-100)
|
||||
- Together: $150-600/day possible
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📊 Expected Results by Mode
|
||||
|
||||
### SCALP Expected (per $10,000 account):
|
||||
```
|
||||
Win Rate Needed: 55%+
|
||||
Avg Win: $25
|
||||
Avg Loss: $25
|
||||
Trades/Day: 15
|
||||
Days/Month: 20
|
||||
|
||||
Monthly: 15 × 20 × $5 net = $1,500/month
|
||||
```
|
||||
|
||||
### SWING Expected (per $10,000 account):
|
||||
```
|
||||
Win Rate Needed: 50%+
|
||||
Avg Win: $150
|
||||
Avg Loss: $250
|
||||
Trades/Day: 2-3
|
||||
Days/Month: 20
|
||||
|
||||
Monthly: 3 × 20 × $50 net = $3,000/month
|
||||
```
|
||||
|
||||
### HYBRID Expected (per $10,000 account):
|
||||
```
|
||||
Swing component: $2,000/month
|
||||
Scalp component: $600/month
|
||||
Combined: $2,600/month
|
||||
|
||||
Less stressful, more consistent!
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ Common Mistakes to Avoid
|
||||
|
||||
### Scalping Mistakes:
|
||||
- ❌ Holding too long (5+ minutes)
|
||||
- ❌ Ignoring spreads/slippage
|
||||
- ❌ Trading during low volatility
|
||||
- ❌ Revenge trading after loss
|
||||
- ❌ Overleveraging position size
|
||||
|
||||
### Swing Trading Mistakes:
|
||||
- ❌ Entering without trend confirmation
|
||||
- ❌ Holding through major events
|
||||
- ❌ Ignoring support/resistance
|
||||
- ❌ Not using trailing stops
|
||||
- ❌ Averaging down on losers
|
||||
|
||||
### Hybrid Mistakes:
|
||||
- ❌ Mixing capital (use separate accounts)
|
||||
- ❌ Scalping when swing signal present
|
||||
- ❌ Not respecting allocation limits
|
||||
- ❌ Overtrading one side
|
||||
|
||||
---
|
||||
|
||||
## Next Features Coming
|
||||
|
||||
- ✅ Strategy Mode Selector (DONE!)
|
||||
- ⏳ Sub-5min Chart Support for Scalping
|
||||
- ⏳ Trend Confirmation Filters for Swing
|
||||
- ⏳ Partial Profit-Taking System
|
||||
- ⏳ Execution Speed Metrics
|
||||
- ⏳ Multi-timeframe Analysis
|
||||
|
||||
---
|
||||
|
||||
## Questions?
|
||||
|
||||
**Which mode should I start with?**
|
||||
- New trader → HYBRID (balanced, less stressful)
|
||||
- Impatient → SCALP (instant feedback)
|
||||
- Patient → SWING (sleep well)
|
||||
- Best money? → HYBRID (combines best of both)
|
||||
|
||||
**Can I switch during the day?**
|
||||
- Yes! Just click the button
|
||||
- Plan updates instantly
|
||||
- All parameters recalculate
|
||||
- No restarts needed
|
||||
|
||||
**Do I have to pick one?**
|
||||
- No! HYBRID lets you do both
|
||||
- Or switch based on market conditions
|
||||
- Whatever maximizes YOUR profit
|
||||
|
||||
---
|
||||
|
||||
**Happy Trading! 🚀📊**
|
||||
Reference in New Issue
Block a user