PROTECTED SOURCE SCRIPT
Güncellendi

Engulfing + Trend + Confirmation + S/R Filter — v6

39
This Pine-v6 indicator is provided purely for testing and educational purposes. It looks for high-probability engulfing patterns in a strong ADX-confirmed trend, then waits for a pullback/retest and a confirming candle before plotting “Buy” (green up arrow) or “Sell” (red down arrow) signals on the chart.

Key features:
• ADX Trend Filter (14,25): only trades when ADX > 25 and +DI/–DI confirm direction
• Engulfing Pattern Detection: identifies classic bullish or bearish engulfing candles
• (Optional) Micro-Pullback Filter: checks for small-bodied consolidation before the engulfing
• (Optional) Midpoint Retest: requires price to revisit the engulfing candle’s midpoint
• Support/Resistance Filter: ignores signals if a major pivot high/low is too close (within “ATR × N”)
• Confirmation Candle: only fires the signal after the next candle closes in the same direction
• Built-in `alertcondition(...)` calls for both Buy and Sell signals.

This “Testing Edition” is meant to help you verify PineScript logic, backtest entries, or integrate with your own webhook/email solutions (e.g., Replit → Telegram). Use the alert templates below for webhook payloads:

• Buy alert payload:
{
"message": "🚀 BUY signal on {{ticker}} @ {{close}} ({{time}})"
}

• Sell alert payload:
{
"message": "🔻 SELL signal on {{ticker}} @ {{close}} ({{time}})"
}

Feel free to fork and modify this script to suit your own risk management, backtesting framework, or messaging setup. Because it’s intended as a “test” indicator, no performance or profitability promises are made—use at your own risk.
Sürüm Notları
This Pine-v6 indicator is provided purely for testing and educational purposes. It looks for high-probability engulfing patterns in a strong ADX-confirmed trend, then waits for a pullback/retest and a confirming candle before plotting “Buy” (green up arrow) or “Sell” (red down arrow) signals on the chart.

Key features:
• ADX Trend Filter (14,25): only trades when ADX > 25 and +DI/–DI confirm direction
• Engulfing Pattern Detection: identifies classic bullish or bearish engulfing candles
• (Optional) Micro-Pullback Filter: checks for small-bodied consolidation before the engulfing
• (Optional) Midpoint Retest: requires price to revisit the engulfing candle’s midpoint
• Support/Resistance Filter: ignores signals if a major pivot high/low is too close (within “ATR × N”)
• Confirmation Candle: only fires the signal after the next candle closes in the same direction
• Built-in `alertcondition(...)` calls for both Buy and Sell signals.

This “Testing Edition” is meant to help you verify PineScript logic, backtest entries, or integrate with your own webhook/email solutions (e.g., Replit → Telegram). Use the alert templates below for webhook payloads:

• Buy alert payload:
{
"message": "🚀 BUY signal on {{ticker}} @ {{close}} ({{time}})"
}

• Sell alert payload:
{
"message": "🔻 SELL signal on {{ticker}} @ {{close}} ({{time}})"
}

Feel free to fork and modify this script to suit your own risk management, backtesting framework, or messaging setup. Because it’s intended as a “test” indicator, no performance or profitability promises are made—use at your own risk.

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.