Jump to content

How is intraday Moving Average calculated? How the moving average line changes when chart scale changes?


Guest CowboyJJ

Recommended Posts

Guest CowboyJJ

I am probably asking a very dumb question here but I just can't find the answer I am looking on Google ( and I really can't believe that).

Let's take 5 day moving average for example.

We all know its official definition is the average of the closing prices of the last 5 five days. But in reality it isn't, right?

For example, when I look at the live chart of any stock, clearly the 5DMA line is updated as new prices trickle in. So, doesn't that mean the formula of live 5DMA should be (live  price + previous 4 days' closing prices)/5? Or is it ? Can anybody clarify exactly how the live 5DMA line is calculated?

Second question: The 5DMA line changes when the scale of the price chart changes. For instance, the 5DMA line on a 6M chart is clearly not the same 5DMA line on a 5D chart. And I don't think it's just a matter of granularity. Why? How is the line calculated differently when the chart scale changes? To me, it seems that when the scale of the price chart changes from 1D to 1M, the moving average line changes from 5-day average to 5-Month moving average. Or am I wrong?

Anybody who knows please help! Because I just can't make sense them!

Thanks

 

Link to comment

Hi @CowboyJJ,  your last sentence about changing with time scale is correct. The 5 day moving average can only apply to a daily chart, if you change the time frame to the hourly chart it becomes the 5 hour moving average.

The 5 day moving average is the average from the previous 5 days and plotted on today's candle, day six. It won't move during the day as day six prices change and will only change on day 7 when day 6 becomes the last of the 5 days used for the calculation, the 5 hourly moving average will only change every hour. 

Link to comment
Guest CowboyJJ

Hi @Caseynotes, thanks for such a quick reply! Also thanks for confirming my suspicion with regard to my second question.

With regard to my first question I'm afraid I have to disagree with you due to two observations:

1. If what you said were correct, the 5DMA line (or any moving average lines) would have been piece-wise constant. Yet they are not. They are all smooth lines.

2. In fact, those 5DMA lines on both IG and Yahoo Finance (I use the latter more) are updated intraday with new prices. They are not static numbers and get updated with new intraday stock prices. The old text-book definition of 5DMA clearly doesn't seem to apply in this case.

Do you or anybody know why this is?

Thanks 

Link to comment

@CowboyJJ, on a daily chart there is only one bar per day, the plot of the average of the previous 5 days will not move though the daily bar itself may lengthen or shorten.

The data plot itself is a single point for each day that has been joined up to the previous plot.

The term DMA can only be applied to a daily chart, if you change time frames it is no longer a DMA, if you are looking at a 1 hour chart has become the the HMA which is completely different and will update every 1 hour.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • image.png

  • Posts

    • Australian shares hit new record highs as weaker-than-expected domestic inflation brought forward rate cut expectations while those in China and Hong Kong also advanced. In Europe and the U.S. stock indices also rallied with the DAX 40 and S&P 500 hitting new record highs despite hawkish comments by Fed member Waller who stated that the central bank is in "no rush" to cut rates. The U.S. dollar appreciated slightly with all eyes now on tomorrow's US PCE data release, the Fed's preferred inflation gauge, and Fed Chair Jerome Powell's speech at 7.30pm on Friday which may provide volatility in thinly traded markets due to the Easter break.  
    • The BASE blockchain is steadily making its moves to conquer the crypto scene upon the next bullrun. Since BASE was announced last year, we have not really seen much off of it this seems like a floodgate for more transactions on there. With the largest DEX on Optimism; Velodrome building one of its foremost AMMs I am pretty certain it will do immensely well. This Automated Market maker is called Aerodrome, it is filled with the inherent capacity to be BASE’s central liquidity hub, combining a powerful liquidity incentive engine, vote lock governance model and friendly experience. As a stack of Velodrome V2, it inherits some of its features.  As a people centric project, it incentivizes users who contribute to the protocol’s sustainable growth with about 100% of the protocol’s incentives and fees going to VeAERO voters. Interestingly, the project has a democratised setting, where voters who lock their AERO tokens convert them to a non fungible token called VeAERO that represents voting power. Consequently, the higher the lock period, the higher the voting weight.  Being launched at about August 28, 2023, It currently stands as one of the largest protocols on BASE with more than 30% of the market shares.  The price of the native token $AERO has surged exponentially over time peaking about 900%. With the BASE chain gaining more traction as it has been lately, this token is slated to do even better. With platforms like Bitget lending it some weight, it is safe to infer the token will serve as a major catalyst to its price as well. Along the listing, there is a deposit to earn rebate event where you could easily earn over 10% rebate.      
    • AAPL Elliott Wave Analysis Trading Lounge Daily Chart, 28 March 2024 Apple Inc., (AAPL) Daily Chart AAPL Elliott Wave Technical Analysis   FUNCTION: Trend MODE: Impulsive STRUCTURE: Motive   POSITION: Wave (5) DIRECTION: Upside in wave 3 of (5). DETAILS: We are looking at Apple being in a larger correction, differentiating from the rest of the major SPX components. We are exploring the possibility of a triangle in wave {b} of 2 or else we could also be in some sort of complex correction swill in wave 2.           AAPL Elliott Wave Analysis Trading Lounge 4H Chart, 28 March 2024 Apple Inc., (AAPL) 4H Chart AAPL Elliott Wave Technical Analysis   FUNCTION: Trend MODE: Impulsive STRUCTURE: Motive   POSITION: Wave {iii} of 3.   DIRECTION: Upside in wave {iii}. DETAILS: Here we explore the possibility of further upside into wave {iii} as there is a possibility for a five wave move into wave {i} and we are finding support on the middle of MG2 at 172$. Looking for continuation higher to give us additional confirmation.         Welcome to our AAPL Elliott Wave Analysis Trading Lounge, where we delve into Apple Inc. (AAPL) using Elliott Wave Technical Analysis. Let's uncover the market dynamics on the Daily Chart as of March 28, 2024. *AAPL Elliott Wave Technical Analysis – Daily Chart* Our analysis indicates a trending function characterized by impulsive mode and motive structure, positioned in Wave (5). The direction signals an upside momentum in wave 3 of (5). Apple appears to be undergoing a larger correction, setting it apart from other major SPX components. We're currently exploring the possibility of a triangle formation in wave {b} of 2, or alternatively, we could be experiencing a complex correction within wave 2. * AAPL Elliott Wave Technical Analysis – Daily Chart* Here, we also identify a trending function marked by impulsive mode and motive structure, positioned in Wave {iii} of 3. The direction indicates an upside trajectory in wave {iii}. Our analysis suggests the potential for further upside into wave {iii}, supported by the possibility of a five-wave move into wave {i}. We are currently finding support around the middle of MG2 at $172, anticipating continuation higher to provide additional confirmation. Technical Analyst : Alessio Barretta   Source : Tradinglounge.com get trial here!    
×
×
  • Create New...
us