OPEN-SOURCE SCRIPT

Momentum Channel - [Volume Filter]

Telah dikemas kini
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!
syot kilat

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.

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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


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
Juga pada:

Penafian