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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。