OPEN-SOURCE SCRIPT

7 Moving Averages [Plus]

업데이트됨
Moving Averages are price based, lagging (or reactive) indicators that display the average price of a security over a set period of time. A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance. Essentially, Moving Averages smooth out the “noise” when trying to interpret charts. Noise is made up of fluctuations of both price and volume. Because a Moving Average is a lagging indicator and reacts to events that have already happened, it is not used as a predictive indicator but as an interpretive one for confirmations and analysis.

Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger. The BB consist of a band of three lines which are plotted in relation to security prices. The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular). The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price. Typically the Upper and Lower Bands are set to two standard deviations away from the SMA (The Middle Line); however the number of standard deviations can also be adjusted by the trader.

This script shows 6 moving averages and Bollinger Bands.

Features:
- Standard MA inputs.
- MA type.
- MA period.
- MA source.
- MA resolution (time frame). [Only MA4, MA5 and MA6]
- MA Offset. [Only MA4, MA5 and MA6]
- Forecasting : forcasted prices are calculated using our MAType and MASource for the MAPeriod. [Only MA1, MA2, MA3 and BB]
- Trail: Show only candles not included in the MA calculation. [Only MA1, MA2, MA3 and BB]

The color of MA1 depends on the chosen strategy, by default this is the 3EMA strategy. You can also select "Pivot Point Supertrend" or "Ichimoku Trend"

Added "Parabolic Stop and Reverse (PSAR)". The PSAR is a time and price technical analysis tool primarily used to identify points of potential stops and reverses. In fact, the SAR in Parabolic SAR stands for "Stop and Reverse". The indicator's calculations create a parabola which is located below price during a Bullish Trend and above Price during a Bearish Trend.

Added "Linear Regression Channel" which can be correctly plotted on logarithmic charts. A linear regression channel consists of a median line with 2 parallel lines, above and below it, at the same distance. Those lines can be seen as support and resistance. The median line is calculated based on linear regression of the closing prices but the source can also be set to open, high or low. The height of the channel is based on the deviation of price to the median line. Extrapolating the channel forward can help to provide a bias and to find trading opportunities.
릴리즈 노트
Now the color of MA2 and MA3 can be changed according to the chosen strategy.

Added Volume Weighted Bars
Volume Weighted Bars, a study of Kıvanç Özbilgiç, aims to present whether volume supports price movements. Volume Weighted Bars are calculated based on volume moving average.

How to interpret :
 -Volume high above the volume moving average be displayed with red/green colors
 -Average volume values will remain as they are and
 -Volume low below the volume moving average will be indicated with darker colors
릴리즈 노트
Added Laguerre Average
The Laguerre Average (filter) was discovered by John Ehlers .
It's a newer type of averaging that is meant to take out as much of the inherent lag that your typical EMA and SMA's give at the start of a major trend change. So what you get is an average that turns more quickly at major trend changes,and doesn't get tripped up on the noise (as much).
릴리즈 노트
Now you can choose between different sources in the Laguerre Average.
릴리즈 노트
Added "Volume Profile" based on pine script arrays
릴리즈 노트
Added as source:
  • On Balance Volume (OBV)
  • Accumulation Distribution (AccDist)
  • Price Volume Trend (PVT)
릴리즈 노트
Added the condition of MFI> = 50 in the Ichimoku Trend.
Small modifications were made to the Volume-Profile.
릴리즈 노트
👍🏻
릴리즈 노트
Updated to version 5 of PineScript and reorganized the code.

The strategy application to moving average #3 was eliminated.

Bollinger Bands change color when squeezed inside the keltner channel.
릴리즈 노트
Added the Average (WMA 21 + EMA 20)
릴리즈 노트
Update to version 6
Bollinger Bands (BB)Exponential Moving Average (EMA)laguerreMoving Averagespsarsmasupertrend

오픈 소스 스크립트

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

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

면책사항