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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.