OPEN-SOURCE SCRIPT
ALLIGATOR Early Reclaim Signals

Early Trend Shift Alerts Based on Alligator Structure
Early trend-shift alerts based on modified Alligator structure and price reclaim/rejection of the Teeth line.
Alligator Reclaim Signals is a simple trend-structure and price-reclaim indicator based on a modified Alligator-style moving average system.
The indicator plots three dynamic lines inspired by the traditional Alligator concept:
- Jaw: slower baseline
- Teeth: medium structure line
- Lips: faster structure line
Instead of focusing only on trend continuation, this tool looks for potential early shift conditions when price crosses back through the Teeth line while the Alligator structure is still positioned in the opposite direction.
A bullish signal is triggered when the fast, medium, and slow lines are still arranged in a bearish structure, but price closes back above the Teeth line. This may suggest an early recovery attempt or a possible bullish reclaim.
A bearish signal is triggered when the lines are still arranged in a bullish structure, but price closes back below the Teeth line. This may suggest a potential rejection, weakness, or early bearish shift.
This makes the indicator useful for traders who want to monitor possible transition zones, pullback failures, trend shifts, or reclaim setups around the middle Alligator line.
The script also includes built-in alert conditions for both bullish and bearish signals, allowing users to create TradingView alerts when a new Buy or Sell condition appears.
Best used with:
- Trend analysis
- Pullback/reclaim setups
- Breakout confirmation
- Multi-timeframe context
- Support and resistance zones
- Volume or momentum confirmation
Inputs:
Jaw Length:
Controls the slowest structure line. Higher values make the line smoother and slower.
Teeth Length:
Controls the middle structure line used as the main reclaim/rejection trigger.
Lips Length:
Controls the fastest structure line. Lower values make it more sensitive to short-term movement.
Limitations:
- Signals can appear during choppy or sideways market conditions.
- The indicator does not include volume confirmation.
- It does not define stop loss or take profit levels.
- It is not a full trading strategy.
- The script is inspired by the Alligator concept but does not use the classic forward-shifted Williams Alligator calculation.
Important:
This indicator does not predict price movement and should not be used as a standalone trading system. Signals may appear during ranging or choppy markets. Always combine it with proper risk management and additional confirmation.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.