OPEN-SOURCE SCRIPT

Periodic Moving Averages

업데이트됨
Indicator plots three simple moving averages (MA) that are reset at the beginning of period, specified by a user.
  • Red MA is based on highs
  • Blue MA is based on close
  • Green MA one is based on lows.

Moving averages often act as support /resistance levels. They can also help to identify intraday trend. It is important to realize that none of the moving averages is universal as price behavior changes from day to day. On the chart I’ve highlighted several occurrences when one of MAs (different ones) provided support for price.

Parameters:

PERIOD – period for which MAs are plotted. They are reset at the beginning of each period. Period cannot be lower than chart’s timeframe
LENGTH – length of moving averages. If set to 0 then parameter is ignored and MAs are calculated on all bars, available in the period
VWAP? – if checked then moving averages will be calculated as volume weighted price

Disclaimer
This indicator should not be used as a standalone tool to make trading decisions but only in conjunction with other technical analysis methods.
릴리즈 노트
UPD 1.1. added two features:
- SIGNALS. Indicator will highlight occurrences where one of MAs acted as support (green box) or resistance (red box) level. The capital letter and number tell which MA was in play and how many times in the period
- TREND. Indicator will show trend in the period. Green filling means price is trending up; red means down; no coloring means uncertainty.
The logic of both features is not very sophisticated and should be treated more as an illustration of the concepts rather than a trading tool.
스냅샷

릴리즈 노트
UPD 1.2. Support/Resistance counter is reset if price breaks MA. Minor changes of visuals
daytradingintradaytradingMoving Averagesvwaps

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항