OPEN-SOURCE SCRIPT

Momentum Channel - [Volume Filter]

Atualizado
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.

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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


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
Também em:

Aviso legal