Start now →

The Day Average Line: A Simple Intraday Edge in TradingView

By Newcj · Published May 16, 2026 · 1 min read · Source: Trading Tag
Trading
The Day Average Line: A Simple Intraday Edge in TradingView

The Day Average Line: A Simple Intraday Edge in TradingView

NewcjNewcj2 min read·Just now

--

//@version=5
indicator(“Day_Avg”, shorttitle=”Davg”, overlay=true)

var float sum_close = na
var int count = na

new_day = ta.change(time(“D”))

if (new_day)
sum_close := 0
count := 0

sum_close += close
count += 1

day_avg = sum_close / count

plot(day_avg, color=color.blue, title=”Day Average Line”, linewidth=2)

Press enter or click to view image in full size
BCT (COINBASE) 5min

What is the Day Average Line?

The Day Average Line is the average price of the current trading day.

“While it functions similarly to a 1-day moving average, it doesn’t wait for the daily candle to close. Instead, it calculates the average price dynamically throughout the day using intraday bars.

In simple terms, it unfolds the current daily candle into smaller timeframes and continuously calculates the mean price.”

Why is it useful?

This line acts as an intraday equilibrium level.

When price is above it, the market is trading above the day’s average price.

When price is below it, the market is trading below the day’s average.

This makes it useful for:

One interesting feature

The Day Average Line looks identical across different timeframes.

Whether you view:

the line remains the same.

That makes it a very stable intraday reference.

TradingView advantage

For Korean stocks, TradingView free accounts have delayed market data, which limits real-time use.

However, this indicator works very well for:

And unlike many local HTS scripting environments, one Pine Script works across all markets without requiring separate session-specific logic.

Sometimes, the simplest tools provide the clearest market perspective.

The Day Average Line is one of them.

This article was originally published on Trading Tag and is republished here under RSS syndication for informational purposes. All rights and intellectual property remain with the original author. If you are the author and wish to have this article removed, please contact us at [email protected].

NexaPay — Accept Card Payments, Receive Crypto

No KYC · Instant Settlement · Visa, Mastercard, Apple Pay, Google Pay

Get Started →