Trend & Channels
A trend line is two points and a ruler, and every trader draws it a little differently. The TR chip draws them by rule: it finds the swing points, joins the ones that line up, and stops the line where a close breaks it. The same rule runs on every stock, so the line lands in the same place for you as for anyone else.
What this page is
The TR chip opens one panel with three groups. Rails are single sloping lines of support and resistance. Channels are two parallel rails. Regression is a statistical band.
Each group shows its own dials first, then the rows those dials move. Rows that answer to no dial sit under the line "Answers to no dial — fixed in the engine", so you always know which dial changes which row.
Every line is found on the candles in front of you, on any timeframe. Nothing is drawn until you turn a row on, and the rail chip shows a small dot while any row is on.
The panel, from top to bottom: "Rails · diagonal support & resistance" (Depth, Tolerance, Trendline S & R, then Trend Lines (All) under "Answers to no dial"), "Channels · two parallel rails" (Channel count, Channel min points, Channels (All), then Current Channel under "Answers to no dial"), and "Regression" (Trend back count, Swing size, Regression Trend). Five rows in all.
Every row has a colour box and a gear. The gear sets the line look, can switch the labels and the point markers off, and can extend a line to the right edge. A change there is for that row only.
Clear at the top of the panel (next to the cross) shows while at least one Trend row is on. One click switches every Trend row off.
In bar replay the lines are worked out again from the candles shown up to the replay point only.
This panel has no Show projection switch. Lines end at their last touch or at the break, unless you turn on Extend right in a row's gear.
Why it helps you
- Current Channel on its own is the best start. It shows the two rails price is moving between, without old lines.
- A close through a Trendline S & R support, stamped "TL✗", is a reason to exit or tighten your stop. In NEPSE you cannot sell short, so a break down means stay out, not "sell to open".
- Raise Channel min points to 6 or 7 when the chart looks over-drawn. A channel touched seven times is real; one touched four times may be chance.
- Use Regression Trend as a stretch gauge. Price at the top rail is far from its own average path, which is a poor place to start buying.
- Use the weekly chart, raise Depth, and use Trendline S & R alone. One line under the major lows of the last few years is the most useful thing here for a long holder.
- Regression Trend on a weekly chart shows if today's price is unusual by the company's own standards.
- Ignore short channels on small timeframes. They describe weeks, not years.
When to use it, and where to find it
- When you want to know if a move is still inside its channel or has left it.
- Before drawing a trend line by hand, as a check on the line the swings really support.
- After a long rise, to see how far price sits above its own regression line.
Try it — a short walkthrough
- 1Open TR on a daily chartPick the 1 day timeframe, then click the TR chip on the right rail.
- 2Turn on Current ChannelClick Current Channel. An amber pair of rails appears if price is inside a channel today.
- 3Add one support or resistance lineClick Trendline S & R. Pale cyan lines appear, labelled "TL×" with their touch count. Raise Depth for fewer, longer lines.
- 4Compare with the regression bandClick Regression Trend. Channels with 0.5, 1, 2 and 3 deviation lines appear. Raise Trend back count to see older channels, and set Swing size to Large to follow only the big moves.
- 5Clean upClick each lit row again to turn it off before you move on, or press Clear at the top of the panel to switch every Trend row off at once. A chart with every row on is hard to read.
The panel and the chart, part by part
The Trend (TR) panel on NABIL, daily chart, with Trendline S & R, Current Channel and Regression Trend on. Each part with a close-up of the real screen; the numbers match the dots on the picture.
Depth
How big a swing must be to count as a turning point. The badge shows how many turning points this depth finds on your chart.
How — Type a number or use the arrows (2 to 30, start 2). Raise it for fewer, bigger swings.
- Low depth: many small swings, many short lines.
- High depth: few large swings, long lines that matter more.
- This dial is shared with other mark panels, so moving it here also moves them.
- It only moves Trendline S & R in this panel.
Tolerance
How much a wick may poke through a rail before the rail is refused.
How — Drag the slider (0.5 % to 8 %, start 3 %). Raise it on a noisy stock with long wicks.
- Higher tolerance: more lines survive, but some are looser.
- Lower tolerance: only very clean lines are drawn.
Trendline S & R
A sloping support or resistance line through two swing points that price never closed clearly through.
How — Click to turn on. Use the colour box to change its colour; the gear can switch off its labels or extend the line to the right edge.
- Colour: pale cyan #a5f3fc.
- Label "TL×4" = the line has been touched 4 times. More touches = a line the market has respected more often.
- A broken line ends where a close went through it by a margin, and is stamped "TL✗" at that candle.
- A rising line under price is support; a falling line over price is resistance.
- Answers to Depth and Tolerance.
Trend Lines (All)
Every clean line on the chart at once, scanned at four fixed swing sizes.
How — Turn it on to see the wide view, then compare it with the one tuned Trendline S & R line.
- Colour: dark cyan #155e75.
- A small arrowhead marks the candle where a line was broken.
- It answers to no dial — the four swing sizes are fixed. That is why it sits under "Answers to no dial — fixed in the engine".
Channels
Two parallel rails that price has been moving between. The two dials here decide how many are drawn and how strict they are.
How — Turn on Channels (All). If the chart is busy, lower Channel count; if the channels look weak, raise Channel min points.
- Channel count (1 to 40, start 10): how many channels are DRAWN. It only hides; it does not change what is found.
- Channel min points (4 to 12, start 4): how many touches a channel needs to qualify at all. Raise it for stronger channels.
- Channels (All) colour: brown #92400e. An arrowhead marks the side price broke out of.
- A break up through the top rail is the bullish side; a break down through the bottom rail is a reason to exit or stay out.
Current Channel
Only the one channel price is trading inside right now.
How — Turn this on alone for a clean chart. It is usually the most useful row on the panel.
- Colour: amber #d97706, drawn thicker than older channels.
- It comes from the same scan as Channels (All), so the two never disagree.
- It is never hidden by Channel count. If none is drawn, price is not inside any channel today.
Regression Trend
Regression channels one after another: a best-fit line through price with parallel lines at 0.5, 1, 2 and 3 standard deviations.
How — Turn it on. Trend back count (1 to 10, start 1) sets how many channels are drawn, counting back from the newest. Swing size: Small follows short swings, Mid (the start value) medium swings, Large only the big moves.
- Every line is the same distance from the middle line at both ends and on both sides.
- When a close goes outside the break line the channel ends and a new one starts from the high or low it made.
- Two channels going the same way never sit on top of each other.
- Price near the top lines is stretched compared with its own path; near the bottom lines it is weak compared with it.
- Lines are 1 pixel thick to start. Change it in the gear.
- The gear also holds two inputs of its own: Min channel bars (20 to 500, start 90) — the shortest channel it draws — and Break at sigma (0.5 to 3, start 2) — how many standard deviations past the middle line a close must go to end the channel.
- Swing size in the panel and the Swing size in the gear are the same setting. Change one and the other follows.
What is drawn on the chart
Every row draws in its own colour, the same colour its button shows.
How — Turn on one or two rows at a time, so you can tell the lines apart.
- Solid lines are rails and channels; the coloured nine-line bands are the regression.
- Labels: "TL×n" touch count, "TL✗" broken line.
- Arrowheads mark the candle where a line or channel was broken.
- A line that is still unbroken ends at its last touch; turn on "Extend right" in the row gear to carry it to the right edge.
Reading the numbers
- Rail: one sloping line of support (under price) or resistance (over price).
- Channel: two parallel rails, with price touching both sides.
- Touch: a candle that reached a rail and turned.
- Break: a close through a rail by a clear margin. The line stops there.
- Regression band: a best-fit line with rails two standard deviations away. It is where price has been, not a level it promised to respect.
Settings inside the Trend panel
Rails
The two dials at the top of the Rails group. They move Trendline S & R only.
| Depth | How many bars on each side a high or low must beat to count as a swing. 2 to 30, starts at 2. The badge shows how many swing points it finds on this chart. Shared with other mark panels. Tip: Raise it on a weekly chart for a few long lines. |
| Tolerance | How far a wick may poke through a rail before the rail is refused. 0.5 % to 8 %, starts at 3 %. |
Channels
The two dials of the Channels group. They move Channels (All). Current Channel answers to neither.
| Channel count | How many channels are drawn. 1 to 40, starts at 10. It only hides older channels; it does not change what is found. |
| Channel min points | How many touches a channel needs to count at all. 4 to 12, starts at 4. Tip: Raise it to 6 or 7 for fewer, stronger channels. |
Regression
Two dials in the panel, and two more inputs in the Regression Trend gear.
| Trend back count | How many regression channels are drawn, counting back from the newest. 1 to 10, starts at 1 (only the current one). |
| Swing size | Small, Mid or Large. Starts at Mid. Small follows short swings; Large follows only the big moves. |
| Min channel bars (gear) | The shortest channel drawn, in bars. 20 to 500, starts at 90. |
| Break at sigma (gear) | How far from the middle line, in standard deviations, a close must go to end a channel and start the next one. 0.5 to 3, starts at 2. |
The gear on every row
Look only. A change here is for that row only and does not change what is found.
| Colour, width, line type | How the row's lines are drawn. Regression lines start at 1 pixel. |
| Labels | Switch the labels (such as "TL×n" and "TL✗") off or on, and set their size. |
| Points | Switch the small point markers off or on, and set their size. |
| Extend right | Carry an unbroken line on to the right edge of the chart. |
What it does not do
- A drawn line describes where price has been. Price leaves channels often, and the tool simply draws a new one.
- Only the loaded candles are read. A line that starts before the loaded history is found only after you scroll back.
- The last candle is not final while the market is open, so a break on it can disappear by the close.
- The regression band is the same width above and below, so it says nothing about direction by itself.
- These lines are readings, not advice to buy or sell.
Questions people ask
No. Trend Lines (All) always scans four fixed swing sizes and answers to no dial. Depth and Tolerance move only Trendline S & R.
Channels (All) draws every channel it finds, up to Channel count. Current Channel draws only the one price is inside now, and is never hidden by the count.
Price is not inside any channel today — it has broken out of the last one. Turn on Channels (All) to see the older channels and where they broke.
Open the gear on Regression Trend. Raise Min channel bars for longer channels, or set Swing size to Large. Raise Break at sigma so a channel ends less often.
Press Clear at the top of the panel, next to the cross. It shows only while at least one row is on.
It is measured from the price itself. A stock that swings a lot gets a wide band; a steady one gets a narrow band.
