OPEN-SOURCE SCRIPT

A-B-C-D Levels with Customizable Pct & Price Line

90
A-B-C-D Levels with Customizable Pct & Price Line

This indicator plots four dynamic “fall” levels (A, B, C and D) based on percentage dips from your chosen pivot, plus an optional live price line. Use it to see at a glance exactly how far price has retraced from a recent high (or other reference).

Features:
• Customizable Dip Percentages – Define your own fall % for Levels A, B, C and D
• Flexible Pivot Source – Reference the highest high, lowest low, close or any other series
• Price Line Overlay – Optionally display a continuous current‐price line for real-time context
• Style & Visibility Controls – Independently tweak colors, widths and line styles
• Alert Conditions – Trigger alerts when price crosses above or below any fall level
• Universal Compatibility – Works on any timeframe or instrument

How to Use:
1. Open Inputs and set your desired dip percentages (e.g. A = 10%, B = 20%, etc.).
2. Choose your pivot source and lookback period.
3. Toggle “Show Price Line” to overlay the live price.
4. (Optional) In the “Create Alert” dialog, set alerts on any level crossing.

Interpretation Guide:
- **Level A** = first dip from pivot (e.g. 10% fall)
- **Level B** = deeper retracement (e.g. 20% fall)
- **Level C/D** = even deeper fall benchmarks (e.g. 30%, 40%)
- The **Price Line** shows current price relative to your fall levels

Happy trading!

#TradingView #PineScript #DipLevels #PriceLine #TechnicalAnalysis

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.