OPEN-SOURCE SCRIPT

Cascades & Sloped Lines (RU) • v6

207
How it works
• The base trendline is built from the last two confirmed pivot lows (uptrend) and/or pivot highs (downtrend).
• “Cascades” are a set of parallel lines above and below the base line, spaced equally: either ATR × multiplier or a fixed percentage of price.
• Lines are automatically rebuilt when a new confirmed pivot appears. To avoid overloading the chart, old lines are removed.

Useful settings
• Increase Pivot Left/Right if you want “larger” swing points.
• Switch the step mode to Percent if you want a fixed distance.
• Adjust Lines Above/Below to get a “dense” or “sparse” cascade.
• Colors and thickness — match them to your style.

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.