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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.