OPEN-SOURCE SCRIPT

Moving Average Deviations

imbes2의
Inputs:
MA Length = select the length period of the moving average
Timeframe = select the timeframe you want the indicator to operate on
Moving Average Type = select the type of moving average you want to use- most common ones are listed
Lookback = The histogram comparison period. A longer lookback will give fewer signals.
"Compare this reading to the past [Lookback #] of readings"
Threshold = The percent change in reading required compared to the lookback period to paint a bar dark red or dark green. A smaller threshold gives fewer readings.
"Compare this reading and only look for the top [Threshold %] of moves"

This moving average creates a histogram plot of the percent deviation from a specified moving average. Above paints faint green, and below paints faint red.
Dark red/green are painted in the direction of the move when the move is above the Threshold % when compared to the past Lookback length.

This script is optimally used to countertrend. It paints a good place to buy the dip or sell the rip given extensions-- different variant of overbought/oversold.

In this example, I used the 100 SMA, 100 period lookback, and a threshold of 7% [Default].
Moving AveragesOscillatorsVolatility

오픈 소스 스크립트

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

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

면책사항