Back to Blog
Smart Moving Averages editorial cover: reference timeframe, chart timeframe and nominal lookback.

Your Chart Timeframe Changed. What Happened to Your Moving Average?

Explore Pono Smart Moving Averages: four configurable SMA or EMA lines, timeframe-adjusted lookbacks, and a regime cloud. Free and open source on TradingView.

A 390-period moving average means something very different on a one-minute chart than it does on a fifteen-minute chart. The setting still says 390, but the amount of chart time inside that calculation has changed.

That is easy to overlook when you move between a wider planning view and a closer execution view. You may want a different view of price without completely changing the horizon of the moving average you use for context.

Pono Smart Moving Averages gives you a way to make that choice explicit. It is a free, open-source TradingView indicator with four configurable moving averages, an optional Smart Adjust setting for each line, and a regime cloud between a selected pair.

Start with the time span you mean

With Smart Adjust enabled, the indicator scales a line's period according to its reference timeframe and the current chart timeframe:

Effective period = configured period × reference timeframe ÷ chart timeframe.

The published example uses a 390-period setting with a five-minute reference. On a five-minute chart, that remains 390 bars. On a one-minute chart, it becomes 1,950 bars. On a fifteen-minute chart, it becomes 130 bars.

All three settings describe the same nominal span of chart time. That makes the reference setting easier to interpret as you change views. You can decide what horizon you want to study, then see how the calculation adapts to the chart in front of you.

There is an important qualification: the resulting values are not numerically identical to a moving average calculated directly from higher-timeframe bars. This indicator calculates on the current chart's data. A longer series of one-minute inputs can produce a different result from a shorter series of five-minute inputs, even when the nominal time span is similar. Smart Adjust preserves the intended horizon, not an exact higher-timeframe price series.

Configure four lines independently

Each of the four moving averages has its own type, source, period, reference timeframe, color, width, and style. You can choose SMA or EMA for each line rather than applying one choice to the whole indicator.

That flexibility helps keep your chart deliberate. Start with the lines you already understand. Assign each one a clear role, such as a shorter and longer lookback for context, before adding more. Four available lines do not mean every chart needs all four.

You can also choose whether to use Smart Adjust for each line. That lets you distinguish a moving average whose horizon should adapt from one whose bar count you intentionally want to keep tied to the current chart.

Read the cloud as context

The regime cloud sits between any selected pair of moving averages. It can show bullish, bearish, or neutral states, with a default neutral tolerance of 0.05%.

The neutral setting is worth noticing. When two lines are close together, an all-or-nothing color change can draw more attention than the separation deserves. A neutral state gives that relationship its own visual treatment.

Regime coloring is enabled for the selected cloud pair by default. You can apply regime coloring to all four lines or use fixed colors instead. Choose the presentation that makes your chart easier to read without turning every color change into a reason to act.

The cloud describes a relationship between moving averages. It does not establish a complete entry, exit, or risk plan, and it does not promise what price will do next.

Check the warnings before changing settings

A smaller chart timeframe can require a much longer effective period. If the required history exceeds Pine's 5,000-bar limit, the affected moving average is hidden and an optional warning can explain why. The script also warns about insufficient loaded history.

If a line disappears, check those conditions before assuming the script stopped working. Review the chart timeframe, reference timeframe, configured period, and available history together. Hiding an unsupported calculation is more useful than presenting a line that appears to represent a lookback it cannot actually calculate.

A simple first comparison

Add the script to a chart, choose one SMA or EMA, and use the documented 390-period, five-minute reference example. Compare the one-, five-, and fifteen-minute views. Observe the adjusted periods and how the lines differ because the chart data differs.

Then enable a second line and inspect the cloud's three states. Keep the rest of your process unchanged while learning what this display adds. Current real-time values can evolve as chart data updates, so do not mistake an unfinished bar's appearance for a fixed historical result.

Pono Smart Moving Averages is available free on TradingView, with its source code open to inspect. Use the description and settings to choose a lookback that means what you intend when you switch charts.

Explore the PonoTrading TradingView indicator library for related chart tools.

Share this read

Continue the journal

Related Articles

Keep Yesterday’s Volume Map on Today’s Execution Chart
Free
Tools & Indicators

Keep Yesterday’s Volume Map on Today’s Execution Chart

Map daily, weekly and monthly volume on your TradingView chart with PonoTrading Volume Profile. Compare completed periods, developing value and composites.

4 min read
Oct 20, 2026
RejectionZones MTF: Put Daily, Weekly and Monthly Wicks on Your Trading Map
Free
Tools & Indicators

RejectionZones MTF: Put Daily, Weekly and Monthly Wicks on Your Trading Map

Map the outer half of daily, weekly and monthly candle wicks with RejectionZones MTF, a free TradingView indicator from PonoTrading.

4 min read
Oct 20, 2026
Breakers & Rejection Blocks Pro: Read the Zone, the Confirmation and the Break
Free
Tools & Indicators

Breakers & Rejection Blocks Pro: Read the Zone, the Confirmation and the Break

Learn how Breakers & Rejection Blocks Pro identifies rejection and continuation zones, confirms swings and handles wick-based invalidation.

4 min read
Oct 20, 2026