VS Channel Trend indicator
This indicator automatically draw support and resistance lines with channels, and some additional channel lines. To have indicator draw channels in history you may just move last vertical line (named StartTL). In the top right corner indicator show number of lines for support and resistance.
FirstBar – start candle, where StartTL will be placed
DeltaBar – minumum number of candles for support/resistance lines
InsLine (true/false) – build or now additional internal line of support/resistance