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
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。