OPEN-SOURCE SCRIPT

Volume Channel - [With Volume Filter]

The indicator calculates two volume-weighted moving averages (VWMA) using different lengths, and filters them based on a moving average of volume. The filtered VWMA values are then plotted on the chart as lines, representing the fast and slow moving averages. In addition, upper and lower bands are calculated based on the slow VWMA and plotted as lines on the chart.

The fast and slow VWMA lines can be used to identify trends in the market. When the fast VWMA is above the slow VWMA, it is an indication of an uptrend, and when the fast VWMA is below the slow VWMA, it is an indication of a downtrend. The position of the VWMA lines relative to the upper and lower bands can also be used to identify potential trade signals.

When the price is near the upper band, it indicates that the market is overbought, and when the price is near the lower band, it indicates that the market is oversold. Traders can use these signals to enter or exit trades.

The indicator also includes a volume filter, which means that the VWMA values are only calculated when the volume is above a certain moving average of volume. This helps to filter out noise in the market and provide more accurate signals.

Explanation for each parameter
  • vwmaLength1: This is the length of the fast volume-weighted moving average (VWMA) used in the calculation. The default value is 10, and it can be adjusted by the user.
  • vwmaLength2: This is the length of the slow volume-weighted moving average (VWMA) used in the calculation. The default value is 25, and it can be adjusted by the user.
  • bandLength: This is the length of the moving average used to calculate the upper and lower bands. The default value is 34, and it is not adjustable by the user.
  • volumeFilterLength: This is the length of the moving average of volume used as a filter for the VWMA calculation. The default value is 5, and it can be adjusted by the user.
  • src: This is the input source for the VWMA calculation. The default value is close, which means the indicator is using the closing price of each bar. However, the user can select a different input source by changing this parameter.
  • filteredVwma1: This is the filtered VWMA calculated based on the volume filter and the fast VWMA length. It is plotted as a line on the chart and can be used to identify short-term trends.
  • filteredVwma2: This is the filtered VWMA calculated based on the volume filter and the slow VWMA length. It is plotted as a line on the chart and can be used to identify long-term trends.
  • ma: This is the moving average of the filtered slow VWMA values, which is used to calculate the upper and lower bands. It is plotted as a line on the chart.
  • offs: This is the offset used to calculate the upper and lower bands. It is based on the standard deviation of the filtered slow VWMA values and is multiplied by 1.6185 * 3. It is plotted as a line on the chart.
  • up: This is the upper band calculated as the moving average plus the offset. It is plotted as a line on the chart and can be used to identify overbought conditions.
  • dn: This is the lower band calculated as the moving average minus the offset. It is plotted as a line on the chart and can be used to identify oversold conditions.
Bands and ChannelschannelbreakcontractionexpansionMoving AveragesvolumeanalysisVOLUMEBREAKOUTVolume

오픈 소스 스크립트

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

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


Join my community where i share signals and my secret algos:

Telegram:
t.me/ikkeomarfree

I can also pass funded accounts for you!
$50,000 accounts

Just dm my Telegram @IkkeOmar
또한 다음에서도:

면책사항