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
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
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)