OPEN-SOURCE SCRIPT

Big_RSI_EMA_Fib

173
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.)

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.