The Dahl Oscillator: Is the Trend Speeding Up or Slowing Down?
Most trend tools answer one question: which way is price going? That's useful, but it leaves out something every driver knows. A car doing 60 miles an hour tells you its speed. Whether the driver is pressing the accelerator or easing off tells you what happens next.
The AIQGENESIS Dahl Oscillator reads that second part. It measures whether a medium-term trend is gaining speed or losing it, and it reports the answer on a simple 0 to 100 scale. It's a port of the Dahl Oscillator from AIQ's TradingExpert Pro, now running natively on TradingView.
How it's built
The recipe is short, and every step has a reason.
- Start with the trend. The script takes a 55-bar simple moving average, a steady read on the medium-term direction.
- Measure its momentum. It compares that average with where it stood 15 bars ago. The difference is how fast the trend is moving.
- Put it on a common scale. It checks where today's momentum sits within its own range over the last 14 bars: 0 at the bottom of that range, 100 at the top.
- Smooth it. A 14-bar EMA takes out the day-to-day noise.
The third step is what makes Dahl useful across a watchlist. A raw moving-average difference is measured in dollars, so a $20 stock and a $2,000 stock produce numbers you can't compare. Once the momentum is ranked against its own recent range, both land on the same 0 to 100 scale and read the same way.
The line that matters is 50
Above 50, the trend's momentum is in the upper part of its recent range: it's building. Below 50, it's fading. The shaded area between the line and 50 makes that visible at a glance, teal for building and red for fading.
Note what this means in practice. A stock can still be in an uptrend while Dahl reads below 50. The trend hasn't reversed; it has just stopped accelerating. That's often the earliest hint that a move is maturing, well before price itself turns.
The script also marks a simple long/flat signal: an up triangle when the oscillator crosses above 50, a down triangle when it crosses back below, and a shaded pane while a long signal is active. The smoothing keeps these crosses infrequent. If you'd like fewer, later signals still, set the exit level a little below the entry level to create a buffer zone.
A patient indicator
Dahl doesn't chatter. In multi-year testing on daily bars it averaged roughly one signal every five to six weeks per ticker. That makes it a swing and position-timing tool, not something for day trading.
Here's the honest part: its crosses have been less reliable in sustained downtrends. Momentum can tick up inside a falling market and fade again, and a midline cross can't tell a real turn from a bounce. So check the bigger picture before acting on a signal.
The optional regime panel does that for you. It shows whether price is above or below its 200-bar average, and adds HIGH VOL when volatility is running well above normal. A long signal that fires while the panel reads "▼ BEAR · HIGH VOL" deserves more skepticism than one that fires in a calm uptrend. The panel describes the current bar only; it isn't a signal on its own.
Because Dahl reads acceleration rather than direction, it tends to supply early evidence rather than confirming evidence. Our note on why some signals are "early" and others are "late" explains why that distinction changes how you should act on a reading.
Two practical notes
- Signals confirm at the close. On the live bar a cross can appear and disappear as price moves. Set any alerts to "Once Per Bar Close."
- The trade status panel shows how many bars the current signal has been active and the percent change since the signal bar's close. It's there for reference while a position is open.
Testing so far has been on daily bars, so check how Dahl behaves on your own timeframe before relying on it intraday.
The Dahl Oscillator is free on TradingView. Search for "AIQGENESIS Dahl Oscillator" in the indicators panel, or see all AIQGENESIS scripts. To see how acceleration fits with the rest of the evidence, add the free AIQ Essential indicator.
Direction tells you where the trend is. Dahl tells you whether it's still pushing.