OPEN-SOURCE SCRIPT

Day Trader's Anchored Moving Averages [wbburgin]

Zaktualizowano
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.
Informacje o Wersji
Changed spacing of name slightly.
Informacje o Wersji
Removed unnecessary code.
daytradingmoving_averageMoving AveragesTrend Analysis

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?


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

Wyłączenie odpowiedzialności