OPEN-SOURCE SCRIPT

5-Indicator Swing Strategy

84
Custom 5-Indicator Swing Strategy for 4H Chart
---
Key Features:
1. Price Uptrend Detection
Uses 50-period EMA as trend filter
Only takes long positions when price is above EMA

2. RSI Momentum Confirmation
RSI must be above 40 and rising (3-bar confirmation)
Includes overbought exit at RSI > 70

3. MACD Bullish Crossover
Detects when MACD line crosses above signal line
Uses standard 12/26/9 settings (customizable)

4. Volume Spike Detection
Identifies volume spikes 1.5x above 20-period average
Confirms breakout strength

5. Fibonacci Retracement Levels
Calculates dynamic Fibonacci levels from recent swing high/low
Enters when price is near 38.2% to 61.8% support levels

Additional Features:
Risk Management: Stop Loss: 2 x ATR below entry price / Take Profit: 3 x ATR above entry price
ATR Length: 14 periods
Visual Indicators: Clear entry/exit signals with shapes
Information Table: Real-time status of all 5 conditions
Multi-Panel Display: RSI, MACD, and Volume in separate panels
Customizable Parameters: All inputs can be adjusted
Alert System: Built-in alerts for entry and exit signals

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.