TradingView
wbburgin
8 Th09 2023 12:48

Day Trader's Anchored Moving Averages [wbburgin] 

Tesla, Inc.NASDAQ

Mô tả

For day traders, establishing a trend at the start of the day is critically important for setting targets and entering positions. This can be difficult when traditional moving averages lag from previous days, causing late entry and/or incorrect trend interpretation.

The Day Trader's Anchored MA indicator plots three dynamic moving averages which restart on each new period (session [daily] or monthly - more coming soon). This eliminates the lag in traditional moving averages while better identifying the trend, as the moving averages essentially 'build up' their lengths as the day progresses, until they reach your chosen maximum length.

This means that these anchored moving averages are
  1. Quicker to identify the start-of-day trend, as markets tend to establish and then follow one trend throughout the day;
  2. Dynamically increasing throughout the day (to your specifications)
  3. Completely independent from previous days


Quick usage note: make sure that your moving average length is less than the number of bars in the period, or it won't reach the maximum length you specified.

TL;DR: Moving average that resets every day and does not lag. Inspired by the VWAP.

Phát hành các Ghi chú

Changed spacing of name slightly.

Phát hành các Ghi chú

Removed unnecessary code.
Bình luận
terstenb369
thank you for this excellent script, could you add also ema's? I want to look at 50 ma and 50 ema together e.g.
wbburgin
@terstenb369, For sure, I'll get to work on that and let you know when there's an update
Thêm nữa