OPEN-SOURCE SCRIPT

Momentum Channel - [Volume Filter]

Updated
The indicator incorporates a volume filter to ensure that the RSI only moves when the volume is above the moving average of the volume.
The filtered RSI is then used to calculate the Bollinger Bands and moving averages, providing insights into the market dynamics.

It also gives you insight into the bigger timeframes so you can monitor momentum!
snapshot

Volume Filter Length: Input parameter for the length of the volume filter moving average.

Overview of code:
  • rsiPeriod: Input parameter for the RSI period.
  • bandLength: Input parameter for the length of the Bollinger Bands.
  • lengthrsipl: Input parameter for the length of the fast moving average (MA) on the RSI.
  • volumeFilterLength: Input parameter for the length of the volume filter moving average.
  • volumeAvg: Calculates the moving average of the volume using the ta.sma() function with the specified volume filter length.
  • filteredRsi: Uses the ta.valuewhen() function to obtain the RSI value only when the volume is greater than or equal to the volume moving average. This creates a filtered RSI based on the volume filter.
  • offs: Calculates the offset value for the Bollinger Bands. It is derived by multiplying 1.6185 with the standard deviation of the filtered RSI using the ta.stdev() function.

Release Notes
Updated alert settings and color format for signals
Release Notes
Fixed a mistake where the standard deviation bands would move even if there wasn't sufficient volume. Sorry everyone
Release Notes
Removed in-active variables
Bands and ChannelsbollingersbandcontractionexpansionMomentum OscillatorsOscillatorsVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


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
Also on:

Disclaimer