Trendlines Breakout

Published on MillionChart by AlgorithmicAlpha.

An overlay that finds pivot highs and lows and draws trendlines through the most recent pivots. It highlights when price breaks through a line, and can show the pivots themselves.
- Pivot Detection: Left Bars (default 100) and Right Bars (default 15)
- Plot Pivots shows or hides pivot markers
- Lines are projected from the two latest pivots
- Break signals are drawn on the chart and alerts can be raised
How to use:
- Use the lines as visual guides and wait for your own confirmation
- Smaller bar counts find shorter-term lines