LevelUp^ 5-Day Moving AverageIn collaboration with Brian Shannon, author of two best-selling books on technical analysis, we've put together an indicator that manages the moving average period based on the chart timeframe.
When using AVWAP as described by Brian, we look for stocks where the trend of the 50-SMA is higher. In that scenario, we look to shorter timeframes (intraday charts) to see if the price action is setting up for a low risk trade. We do this by making sure the shorter timeframe(s) align with the longer. As we look at various timeframes, we need to make sure the moving average is consistent across the timeframes, which is done via the 5-day moving average as outlined below.
The 5-Day Moving Average (5-DMA)
Brian explains it best, from his article 5 Day Moving Average posted on his blog:
"If you want to see a five DAY moving average on a chart with 10 minute candles, you have to consider how many 10 minute periods of trading there are in the trading day. The US equities markets are open from 9:30- 4:00 each day, which is 6.5 hours per trading day. In each hour of trading, there are 6-10 minute periods, so during the regular session for equities, the market is open for 390 minutes or 39-10 minute periods per day. If we are to get a five day moving average, we would take the 39-10 minute periods the market is open each day and then multiply that by five days. 39 x 5 = 195. So a 5 DAY moving average is represented by a 195 PERIOD moving average when looking at a 10 minute timeframe."
Here are the supported timeframes and their 5-DMA equivalents:
1-minute 1950
2-minutes 975
3-minutes 650
5-minutes 390
6-minutes 325
10-minutes 195
13-minutes 150
15-minutes 130
26-minutes 75
30-minutes 65
39-minutes 50
65-minutes 30
78-minutes 25
130-minutes 15
195-minutes 10
More Information About Anchored VWAP (AVWAP)
Brian goes into great detail about multiple timeframe analysis and AVWAP in both of his books:
▪ Maximum Trading Gains With Anchored VWAP
▪ Technical Analysis Using Multiple Timeframes
Acknowledgements
Many thanks to Brian Shannon for sharing his expertise on Anchored VWAP and providing feedback and suggestions during the development of the indicator.
5dma
Moving Average PeriodicalPMA derives the length of its rendered SMA from the number of periods (example: 5 days) and the length of the period (example: 390 minutes)
The result is an indicator that should be the same across different time-frames of the same type. Allowing for the simple calculation and generation of a Daily Moving Average like the 5 Day SMA (the default for minute based time-frames).