Auto Trendlines
Support and resistance lines through confirmed swings, drawn the bar their second swing confirms and never moved, with each touch counted and the share of lines that bounced on each touch number.
mdtTrendlinesLines through confirmed swings, with a record per touch.
Two confirmed swings make a line
Fractal swings of 5 bars each side by default. A rising line through two lows is support, a falling line through two highs is resistance; falling supports and rising resistances are an option.
Drawn once, where it was known
The line starts on the bar the second swing confirms and extends right. It is never re-fitted, so scrolling back shows what was on the chart at the time.
Noise filtered by slope and tolerance
Lines steeper than 1 ATR per bar are discarded, and the search looks at the last 6 swings. Up to 3 lines per side are kept.
Touches, bounces and breaks marked
A touch is a bar within 0.1 ATR of the line; the count prints on the line. A bounce is a touch followed by a 1 ATR move away within 10 bars before a close through. A break is a close 0.25 ATR beyond the line; a dashed pullback line continues it for a set number of bars.
Bounce rate by touch number
The statistics panel shows, for the 2nd, 3rd and later touches, how often lines bounced, with n, as of the bar in view.
Parallel channels and alerts
An optional parallel through the most extreme opposite price between the anchors, and alerts on a break and on a bounce.
What it looks like in a session.
Trendlines without the hindsight, and a count behind each touch.
A trendline joins two swing lows or two swing highs and asks whether the third touch will hold. Drawn by hand it is the most hindsight-prone tool on a chart: the anchors get moved until the line fits. Auto Trendlines uses a fixed rule instead. A swing exists only once the bars on each side confirm it, a line exists only once its second swing confirms, and no close may have crossed it between the anchors and the confirming bar.
A support line carries its touch count; the count rises each time a bar comes within the tolerance. A bounce mark sits on the bar where price finished moving 1 ATR away. A break mark ends the line where a bar closed through it, and the dashed line after it is the same line continued for a pullback test. The panel's rows are touch numbers: the share of past lines that bounced on their 3rd touch, for example, and how many were counted.
A line is geometry on past swings, not a prediction, and a bounce share is a frequency under this product's rule on this chart's bars. Different bar types give different swings and different lines. Swing strength, the slope cap, the number of swings searched, the tolerance, the break and bounce distances and the lines kept per side are all settings and rebuild live.
Every setting, explained.
Read from the indicator's own settings, so this table always matches the current build.
| Group | Setting | What it does |
|---|---|---|
| Lines | Swing strength (bars each side) | |
| ATR period (chart bars) | ||
| Earlier swings searched | ||
| Steepest slope (x ATR per bar) | ||
| Falling supports and rising resistances too | ||
| Touch tolerance (x ATR) | ||
| Lines kept per side | ||
| Breaks and bounces | Break: close beyond (x ATR) | |
| Bounce: moves away (x ATR) | ||
| Bounce: within (bars) | ||
| Alerts | Alert on a break | |
| Alert on a bounce |
One license. Every tool.
Auto Trendlines is one of 76 tools in the Suite.