OPEN-SOURCE SCRIPT
90D High % Pullback Lines (Hybrid 10 Lines)

90D High % Pullback Lines (Hybrid 10 Lines) visualizes drawdown levels from the 90-day high, with up to 10 fully customizable percentage-based lines.
This tool makes it easy to identify pullbacks, dip-buy zones, trend continuation points, and discount regions in any market.
🔍 Features
✅ Up to 10 customizable pullback levels
Each line has its own % drop setting
Turn any line ON/OFF individually
Example presets: −10%, −20%, −30%, … −95%
✅ Two rendering modes
1. Hybrid Fixed Line Mode (Stable / Anti-Shift)
Prevents line drift caused by chart updates
Keeps horizontal levels synchronized on every bar
Best stability for intraday & real-time use
2. Lightweight plot (stepline) Mode
Ideal for backtesting
Fully compatible with alerts
Clean and fast rendering
✅ Supports daily-based 90-day high
Even on lower timeframes, the indicator can use the daily 90-day high
Ideal for MTF (multi-timeframe) analysis
🎯 Use Cases
Instantly see how far price has pulled back (%) from the 90-day high
Build systematic dip-buy / trend-follow setups
Identify discount zones during volatility
Monitor recovery signals after strong sell-offs
Works great for crypto, FX, indices, and stocks
🚨 Alerts Included
Alerts trigger when closing price crosses any selected pullback line
Useful for automated dip-buy alerts, breakout alerts, etc.
📌 Notes
Due to internal TradingView behavior, public indicators may behave slightly differently from real-time script editing mode.
The Hybrid Line Mode is designed to provide the most stable and drift-free line display.
This tool makes it easy to identify pullbacks, dip-buy zones, trend continuation points, and discount regions in any market.
🔍 Features
✅ Up to 10 customizable pullback levels
Each line has its own % drop setting
Turn any line ON/OFF individually
Example presets: −10%, −20%, −30%, … −95%
✅ Two rendering modes
1. Hybrid Fixed Line Mode (Stable / Anti-Shift)
Prevents line drift caused by chart updates
Keeps horizontal levels synchronized on every bar
Best stability for intraday & real-time use
2. Lightweight plot (stepline) Mode
Ideal for backtesting
Fully compatible with alerts
Clean and fast rendering
✅ Supports daily-based 90-day high
Even on lower timeframes, the indicator can use the daily 90-day high
Ideal for MTF (multi-timeframe) analysis
🎯 Use Cases
Instantly see how far price has pulled back (%) from the 90-day high
Build systematic dip-buy / trend-follow setups
Identify discount zones during volatility
Monitor recovery signals after strong sell-offs
Works great for crypto, FX, indices, and stocks
🚨 Alerts Included
Alerts trigger when closing price crosses any selected pullback line
Useful for automated dip-buy alerts, breakout alerts, etc.
📌 Notes
Due to internal TradingView behavior, public indicators may behave slightly differently from real-time script editing mode.
The Hybrid Line Mode is designed to provide the most stable and drift-free line display.
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.