OPEN-SOURCE SCRIPT
CHOCH & Liquidity Sweep Detector

so think of this one as an upgraded version from the previous liquidity sweep and reversal indicator i shared. This one:
Identifies when price wicks above a swing high then closes below it (bearish sweep 💧)
Identifies when price wicks below a swing low then closes above it (bullish sweep 💧)
Orange labels mark the sweeps with dashed lines showing the liquidity level
CHOCH (Change of Character) Detection
After a liquidity sweep, it watches for structure breaks
Bearish CHOCH: After bullish sweep, price breaks below previous structure low (🔴 SHORT setup)
Bullish CHOCH: After bearish sweep, price breaks above previous structure high (🟢 LONG setup)
Market Structure Tracking
Shows current structure highs/lows with dotted lines
Tracks whether market is in bullish, bearish, or neutral trend
Dashboard (bottom-right)
Shows current trend direction
Liquidity sweep status
CHOCH confirmation
Setup Ready alert when both conditions align
Clear action recommendation
How to use with tf alignment indicator:
Apply both indicators to your 1hr/4hr chart
Wait for alignment (Daily/Weekly/Monthly all bearish or bullish)
Look for liquidity sweep (💧 label appears)
Wait for CHOCH (big red/green label with "CHOCH")
Enter on retest of the broken structure level
Identifies when price wicks above a swing high then closes below it (bearish sweep 💧)
Identifies when price wicks below a swing low then closes above it (bullish sweep 💧)
Orange labels mark the sweeps with dashed lines showing the liquidity level
CHOCH (Change of Character) Detection
After a liquidity sweep, it watches for structure breaks
Bearish CHOCH: After bullish sweep, price breaks below previous structure low (🔴 SHORT setup)
Bullish CHOCH: After bearish sweep, price breaks above previous structure high (🟢 LONG setup)
Market Structure Tracking
Shows current structure highs/lows with dotted lines
Tracks whether market is in bullish, bearish, or neutral trend
Dashboard (bottom-right)
Shows current trend direction
Liquidity sweep status
CHOCH confirmation
Setup Ready alert when both conditions align
Clear action recommendation
How to use with tf alignment indicator:
Apply both indicators to your 1hr/4hr chart
Wait for alignment (Daily/Weekly/Monthly all bearish or bullish)
Look for liquidity sweep (💧 label appears)
Wait for CHOCH (big red/green label with "CHOCH")
Enter on retest of the broken structure level
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。