OPEN-SOURCE SCRIPT

Big_RSI_EMA_Fib

183
Strategy Name: Big Candle + RSI + EMA + Fibonacci
This Pine Script strategy combines multiple indicators and price action logic to generate long and short trading signals. It includes:

🔧 Inputs
RSI Period – default: 14 (Relative Strength Index to identify overbought/oversold conditions).

EMA Period – default: 50 (Exponential Moving Average for trend confirmation).

Fibonacci Retracement – default: 0.618 (used to identify pullback zones after a big candle).

Minimum Body Size % – default: 1.5% (the minimum percentage of candle body relative to full range to qualify as a "big candle").

📈 Indicators Used
RSI: Filters overbought/oversold conditions.

EMA (50): Confirms trend direction.

Big Candle Detection: Candles with body size greater than a specified percentage of their full range.

Fibonacci Levels: A retracement level (default 61.8%) is calculated from the body of the big candle.

✅ Long Entry Conditions
Big bullish candle (close > open)

Body size greater than threshold

RSI is below 70

Price is above EMA(50)

❌ Short Entry Conditions
Big bearish candle (close < open)

Body size greater than threshold

RSI is above 30

Price is below EMA(50)

🎯 Strategy Actions
Enters long or short positions based on the above conditions.

On each entry, a horizontal line is drawn at the entry price (close) and extended forward for 3 bars to visually mark the trade level.

Green line for long entries.

Red line for short entries.

📐 Visual Elements
EMA line (orange)

Buy/Sell Labels: Up/down labels on the chart at entry points.

Fibonacci Level (purple): Retracement level based on the big candle.

Horizontal Trade Lines: Lines marking the entry price for quick visual tracking.

⏱️ Multi-Timeframe Data
Fetches high/low from:

5-minute chart

1-hour chart
(Prepared for potential additional filtering or breakout logic.)

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.