OPEN-SOURCE SCRIPT
5-Indicator Swing Strategy

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
---
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
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.