OPEN-SOURCE SCRIPT
Updated Market Structure (DeadCat)

๐ Market Structure (DeadCat) - Indicator Overview ๐
The Market Structure (DeadCat) indicator plots swing highs and lows (HH, HL, LH, LL) using pivot points, helping you spot uptrends, downtrends, and potential reversals. Perfect for traders who use market structure.
๐ Key Features ๐
๐น Swing Point Labels
HH (Higher High): Signals uptrend strength.
HL (Higher Low): Marks bullish support.
LH (Lower High): Hints at weakening uptrend or reversal.
LL (Lower Low): Confirms downtrend momentum.
๐น Trend Detection
Uptrend: Tracks HH/HL for bullish momentum.
Downtrend: Tracks LH/LL for bearish momentum.
Waits for breaks of prior HH/HL or LH/LL to confirm new swing points, ensuring reliable signals. ๐
๐น Customizable Labels
Adjust label text color (default: black) to suit your chart. Supports up to 500 labels for a clean, focused view. ๐๏ธ
๐ Indicator Settings ๐
Swing Length: Fixed at 20 bars (left) and 2 bars (right) for pivot detection.
Label Color: Customize text color for better visibility.
The Market Structure (DeadCat) indicator plots swing highs and lows (HH, HL, LH, LL) using pivot points, helping you spot uptrends, downtrends, and potential reversals. Perfect for traders who use market structure.
๐ Key Features ๐
๐น Swing Point Labels
HH (Higher High): Signals uptrend strength.
HL (Higher Low): Marks bullish support.
LH (Lower High): Hints at weakening uptrend or reversal.
LL (Lower Low): Confirms downtrend momentum.
๐น Trend Detection
Uptrend: Tracks HH/HL for bullish momentum.
Downtrend: Tracks LH/LL for bearish momentum.
Waits for breaks of prior HH/HL or LH/LL to confirm new swing points, ensuring reliable signals. ๐
๐น Customizable Labels
Adjust label text color (default: black) to suit your chart. Supports up to 500 labels for a clean, focused view. ๐๏ธ
๐ Indicator Settings ๐
Swing Length: Fixed at 20 bars (left) and 2 bars (right) for pivot detection.
Label Color: Customize text color for better visibility.
Release Notes
Update - Option for user to select colorOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.