OPEN-SOURCE SCRIPT

Multi Time Frame Composite Bands

업데이트됨
Multi Time Frame Composite Bands utilizes Fibonacci numbers (5, 8, 13, 21, 34) as period lengths for calculations. The indicator calculates a composite high line (C_high) by averaging the highest prices over Fibonacci periods, incorporating moving averages (SMA) of high prices for added refinement and smoothing. Similarly, a composite low line (C_low) is calculated by averaging the lowest prices with moving averages of low prices. The midline, obtained from the mean of C_high and C_low.

This band can function as volatility bands unlike traditional volatility indicators like Bollinger Bands , ATR bands it does not use traditional measures of volatility such standard deviation , ATR. This hugs closely to the price and during trending markets the some part of the candles stay outside the band and when the entire candle digress outside the band a price correction or reversal can be anticipated. This can be considered as a smoothed Donchian channel.
릴리즈 노트
The "Advanced Multi Time Frame Composite Bands" indicator is a technical analysis tool designed to provide insights into price volatility and potential support/resistance levels. This indicator is based on the concept of utilizing Fibonacci numbers (5, 8, 13, 21, 34) as period lengths for calculations. Here's a breakdown of how the indicator works:

Calculation of Volume-Adjusted Volatility (IDV):
The indicator starts by calculating the Intraday Volatility (IDV) as the range between the daily high and low prices divided by the closing price. This aims to capture the intraday price movement and volatility.

Average Volume-Adjusted Volatility (Ave_Nor_IDV):
The indicator then calculates the average volatility over a longer period (2000 bars) using the Simple Moving Average (SMA) of the previously calculated IDV. This average provides a average representation of historically observed volatility.

Composite High Line (high_c):
The indicator constructs the Composite High Line by taking the average of the highest prices over Fibonacci periods (5, 8, 13, 21, 34). Additionally, it includes the SMA of high prices over the periods 5, 8, and 13 to refine and smooth the Composite High Line.

Composite Low Line (low_c):
Similarly, the Composite Low Line is constructed by averaging the lowest prices over Fibonacci periods (5, 8, 13, 21, 34) and incorporating the SMA of low prices over the periods 5, 8, and 13.

Upper and lower bands C_high and C_low:
This is calculated by incorporating a buffer cushion to the composite high line (high_c) and composite low line (low_c) by using the average historic intraday volatility (IDV).

Midline (Basis):
The midline of the bands is calculated by taking the mean of the Composite High Line (C_high) and the Composite Low Line (C_low). This midline represents a point of equilibrium between the upper and lower bands.

Functionality and Interpretation:
This indicator serves as volatility bands and dynamic support/resistance levels. Unlike traditional volatility indicators like Bollinger Bands that use standard deviation, this indicator calculates the bands based on averages of highest, lowest, high and low price over multiple time frames. The indicator closely hugs the price, and during trends, candles might extend beyond the bands. When an entire candle moves outside the band, it suggests a potential price correction or reversal.
릴리즈 노트
updated the plot screen
릴리즈 노트
Updated coloring scheme for the mid line for easier trend visualization - Green up trend and Red down trend
릴리즈 노트
Chart correction on the screen.
Bands and Channelsmultitimeframe

오픈 소스 스크립트

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

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

면책사항