vitvlkv

Acceleration Bands

Price Headley\'s Acceleration Bands serve as a trading envelope that factor in a stock\'s typical volatility over standard settings of 20 or 80 bars. They can be used across any time frame, though Headley prefers to use them most across weekly and monthly timeframes as breakout indicators outside these bands, while using the shorter time frames to define likely support and resistance levels at the lower and upper Acceleration Bands. Acceleration Bands are plotted around a simple moving average as the midpoint, and the upper and lower bands are of equal distance from this midpoint.

www.swingtracke...com/content.php?content=te...
forex-indicators.net/acceleration-bands
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?
study("Acceleration Bands", overlay=true)
factor= input(0.001)
length = input(20)
Upperband = high * ( 1 + 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ))
Lowerband = low * ( 1 - 2 * (((( high - low )/(( high + low ) / 2 )) * 1000 ) * factor ))
Central = (Upperband  + Lowerband) / 2

ma(src, len) => sma(src, len)

plot(ma(Upperband, length), color=red)
plot(ma(Central, length), color=orange)
plot(ma(Lowerband, length), color=red)