OPEN-SOURCE SCRIPT

Momentum Channel - [Volume Filter]

Aggiornato
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!
istantanea

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.

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

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


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
Anche su:

Declinazione di responsabilità