OPEN-SOURCE SCRIPT

Day Trader's Anchored Moving Averages [wbburgin]

已更新
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.
發布通知
Changed spacing of name slightly.
發布通知
Removed unnecessary code.
daytradingmoving_averageMoving AveragesTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


FAQ: I am gradually phasing out my Patreon because of the time it takes to maintain.

BTC: 35PdMMMXFCvPjXKwn8wsRFNwMEPgStaKUJ

Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09

免責聲明