OPEN-SOURCE SCRIPT
FPT - Harami

FPT – Harami (Wick Included) is a clean and minimalist candlestick pattern indicator that highlights Harami reversal formations using full candle ranges (wicks included).
This version follows a strict and objective definition of Harami by requiring the entire range of the second candle (high–low) to be fully contained within the range of the first candle.
🔹 Patterns Detected
Bullish Harami
First candle: Bearish
Second candle: Bullish
Second candle’s high and low are completely inside the first candle’s range
Bearish Harami
First candle: Bullish
Second candle: Bearish
Second candle’s high and low are completely inside the first candle’s range
Only the pattern-forming candle (second candle) is highlighted to keep the chart clean and focused.
🎨 Customization
Highlight Bullish, Bearish, or Both Harami patterns
Separate and fully customizable colors for bullish and bearish patterns via Inputs → Colors
Style tab colors are intentionally not used
🎯 Design Philosophy
No indicators
No filters
No assumptions about trend or volatility
This tool is designed for traders who prefer pure price action and want to identify Harami patterns in combination with:
Key levels
Support & resistance
Market structure
Session-based or discretionary analysis
⚠️ This indicator is for visual analysis only and does not provide trade signals.
Always apply proper risk management.
This version follows a strict and objective definition of Harami by requiring the entire range of the second candle (high–low) to be fully contained within the range of the first candle.
🔹 Patterns Detected
Bullish Harami
First candle: Bearish
Second candle: Bullish
Second candle’s high and low are completely inside the first candle’s range
Bearish Harami
First candle: Bullish
Second candle: Bearish
Second candle’s high and low are completely inside the first candle’s range
Only the pattern-forming candle (second candle) is highlighted to keep the chart clean and focused.
🎨 Customization
Highlight Bullish, Bearish, or Both Harami patterns
Separate and fully customizable colors for bullish and bearish patterns via Inputs → Colors
Style tab colors are intentionally not used
🎯 Design Philosophy
No indicators
No filters
No assumptions about trend or volatility
This tool is designed for traders who prefer pure price action and want to identify Harami patterns in combination with:
Key levels
Support & resistance
Market structure
Session-based or discretionary analysis
⚠️ This indicator is for visual analysis only and does not provide trade signals.
Always apply 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.