# Power Hour Trendlines

Power Hour Trendlines is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Power Hour Trendlines runs a linear regression through the closing prices of the session's final hour (3:00 to 4:00 p.m. New York time by default) across a chosen number of days. Upper and lower lines fitted to the deviations frame direction, volatility, and dynamic support and resistance drawn only from the market's most active data.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Dec 31, 2025.
- Access: free.
- Concepts: [Trendline](https://www.luxalgo.com/library/concept/trendline/) (primary), [Intraday Time-of-day Effects](https://www.luxalgo.com/library/concept/intraday-time-of-day-effects/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn4nqr006ivhsgflv9anew
- Page: https://www.luxalgo.com/library/indicator/power-hour-trendlines/

**Power Hour Trendlines** applies [trendline analysis](https://www.luxalgo.com/library/concept/trendline/) to a deliberately filtered dataset: only the closes printed during the final hour of the regular session, 3:00–4:00 p.m. New York time by default. The premise is a classic [time-of-day tendency](https://www.luxalgo.com/library/concept/intraday-time-of-day-effects/): prices formed while institutions rebalance into the close carry more informational value than quiet-hours noise. A middle line regresses every Power Hour close in memory; the upper line is fitted to the closes sitting above that regression, the lower line to those below.

## How to Trade the Power Hour Trendlines?

- **Slope**: rising lines say uptrend, falling lines say downtrend, flat says the market is ranging, a clean directional filter for intraday work.
- **Channel width**: a wide gap between upper and lower lines signals aggressive swings; a narrow gap signals controlled price behavior, context for risk management and sizing.
- **Dynamic support and resistance**: the lines mark where late-session participants accepted or rejected price; watch behavior on each retest for reactions, breakouts, or reversals.
- **Sessions Memory as horizon**: the same market can trend over 10–40 sessions yet look range-bound over 70. Vary the lookback to match the horizon your trade lives on.

Because the Power Hour is the session's final hour, intraday data is required: timeframes above 1 hour aren't supported and trigger a warning. Stocks, indices, forex, crypto, and futures all work as long as the instrument has a defined session.

## Power Hour Trendlines Settings

- **Power Hour (NY Time)**: define a custom Power Hour window.
- **Sessions Memory**: how many Power Hour sessions feed the trendline calculations.
- **Style — Top / Middle / Bottom / Background**: enable each line individually and control line colors and zone shading.

## Frequently Asked Questions

### Why build trendlines only from the last hour?

The closing hour concentrates portfolio rebalancing and Market-on-Close order flow, so its prices reflect heightened institutional participation. Regressing only those closes is what separates this tool from trendlines drawn across every bar of the day.

### How does it pair with Power Hour Breakout Signals?

[Power Hour Breakout Signals](https://www.luxalgo.com/library/indicator/power-hour-breakout-signals/) trades each session's range as it breaks; the trendlines condense many sessions into direction and volatility. Using the lines for bias and the range tool for entries is a natural division of labor.

### How do I get the Power Hour Trendlines?

It's included free in the LuxAlgo Library. From this page you can also open it in Quant, our coding agent, and test how its slope reads your market. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Trendlines Oscillator](https://www.luxalgo.com/library/indicator/trendlines-oscillator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-oscillator.md
- [Trendlines with Breaks](https://www.luxalgo.com/library/indicator/trendlines-with-breaks/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-with-breaks.md
- [Trendline Breakout Navigator](https://www.luxalgo.com/library/indicator/trendline-breakout-navigator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendline-breakout-navigator.md
- [Trendlines with Breaks Oscillator](https://www.luxalgo.com/library/indicator/trendlines-with-breaks-oscillator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-with-breaks-oscillator.md
- [Rolling Trendline](https://www.luxalgo.com/library/indicator/rolling-trendline/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/rolling-trendline.md
- [Machine Learning Trendlines Cluster](https://www.luxalgo.com/library/indicator/machine-learning-trendlines-cluster/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/machine-learning-trendlines-cluster.md
- [Power Hour Breakout Signals](https://www.luxalgo.com/library/indicator/power-hour-breakout-signals/) (Intraday Time-of-day Effects): markdown at https://www.luxalgo.com/library/indicator/power-hour-breakout-signals.md
- [Volume Forecasting](https://www.luxalgo.com/library/indicator/volume-forecasting/) (Intraday Time-of-day Effects): markdown at https://www.luxalgo.com/library/indicator/volume-forecasting.md

---

Source: https://www.luxalgo.com/library/indicator/power-hour-trendlines/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
