TCL Auto Support and Resistance Lines
- Indicatori
- Versione: 1.4
TCL Auto S&R Lines is a Support and Resistance indicator for MetaTrader 4. It scans recent price history with a fractal-based algorithm, identifies levels that have been touched multiple times, and draws them on the chart. It also includes a manual lock feature to preserve specific levels between sessions.
How It Works
The indicator searches for swing pivots within a configurable history window using a fractal sensitivity parameter. Each candidate level is then validated by a touch-verification count — only levels rejected by price the required number of times are drawn. An internal ZigZag filter removes minor noise so only meaningful structure is plotted.
Components
- Support Lines — horizontal lines drawn below current price where multiple touches confirm demand.
- Resistance Lines — horizontal lines drawn above current price where multiple touches confirm supply.
- Close Zones — narrower bands around the most recent ZigZag swing, useful for short-term reaction levels.
- One-Click Lock — manually freeze any drawn level so it stays on the chart after market structure shifts.
Inputs
- History Lookback (Bars) — historical bars scanned for high and low points (default 1000)
- Fractal Sensitivity — strength of the fractal scan, higher values keep only the most significant pivots (default 5)
- Touch Verification Count — minimum price rejections required to validate a level (default 2)
- Max Levels — maximum number of Support or Resistance lines shown at once (default 3)
- ZigZag Depth, Deviation, Backstep — internal ZigZag filter settings (defaults 5, 2, 3)
- Line colors and thickness — fully configurable
Compatibility
The indicator works on MetaTrader 4. It is compatible with all instruments and all timeframes from M1 to MN.
Installation
- Download the file from MQL5 Market
- Restart MetaTrader if needed
- Drag the indicator onto any chart
For questions about parameters or behavior, please use the Comments tab.
