OPEN-SOURCE SCRIPT
FPT - Engulfing Bar Highlight

📌 Description
FPT – Engulfing Bar Highlight is a clean and lightweight indicator designed to highlight valid bullish and bearish engulfing candles directly on the chart.
The indicator uses a strict engulfing definition:
Bullish Engulfing
Current low breaks the previous low
Close is above the previous open
Close is above the current open
Bearish Engulfing
Current high breaks the previous high
Close is below the previous open
Close is below the current open
An optional minimum candle size filter (in ticks) helps eliminate weak or insignificant engulfing candles.
This tool is ideal for traders who:
Trade price action
Use engulfing candles as entry, confirmation, or context
Want a minimal, non-intrusive visual highlight
Combine engulfing logic with key levels, sessions, or other strategies
⚙️ Inputs
Highlight Mode
Bull Only
Bear Only
Both
Minimum Engulfing Size (ticks)
🎯 Features
Clean bar highlight (no boxes, labels, or signals)
No repainting
Works on any market and timeframe
Perfect for discretionary and algorithmic workflows
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not constitute financial advice.
Always use proper risk management.
FPT – Engulfing Bar Highlight is a clean and lightweight indicator designed to highlight valid bullish and bearish engulfing candles directly on the chart.
The indicator uses a strict engulfing definition:
Bullish Engulfing
Current low breaks the previous low
Close is above the previous open
Close is above the current open
Bearish Engulfing
Current high breaks the previous high
Close is below the previous open
Close is below the current open
An optional minimum candle size filter (in ticks) helps eliminate weak or insignificant engulfing candles.
This tool is ideal for traders who:
Trade price action
Use engulfing candles as entry, confirmation, or context
Want a minimal, non-intrusive visual highlight
Combine engulfing logic with key levels, sessions, or other strategies
⚙️ Inputs
Highlight Mode
Bull Only
Bear Only
Both
Minimum Engulfing Size (ticks)
🎯 Features
Clean bar highlight (no boxes, labels, or signals)
No repainting
Works on any market and timeframe
Perfect for discretionary and algorithmic workflows
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not constitute financial advice.
Always use proper risk management.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.