OPEN-SOURCE SCRIPT

Time Relative Volume Oscillator | Flux Charts

Güncellendi
💎 GENERAL OVERVIEW
The relative volume indicator aims to improve upon the default existing relative volume indicator by comparing volumes between previous trading sessions rather than previous candles. As such, it works best on lower time frames as there is more data to compare with. The purpose of the indicator is to show how the current bar’s volume compares to the volume at the same time on previous trading days.

anlık görüntü

There exists a couple different modes and combinations that each provide a different perspective on the trading volume.

Oscillator mode

anlık görüntü

Oscillator mode starts with the same relative volume calculation, but adds two EMAs of different lengths that diverge and converge. Like the MACD, it plots the difference as a histogram. This functions as an easy way to view when relative volume is increasing or decreasing.

How to use:

The oscillator oscillates between -1 and 1. It moves along with volume direction, so this mode can be used to view the current volume direction in a lagging fashion. In oscillating markets, this indicator can give an idea of how buy/sell volume is moving and where it currently stands. Small arrows mark where reversals are predicted, when the histogram crosses over 0. The biggest pitfall of this mode is that, in a straight trending market, the two EMAs converge and it gives a false reversal signal.

Delta mode

anlık görüntü

Delta volume mode is a step up from the buy/sell volume mode. It separates both sides into the top and bottom, while also displaying the actual volume behind it in a semi transparent overlay. The best feature, however, is the delta oscillator. This oscillator fluctuates depending on how buy/sell volume is changing and plots bullish/bearish labels when the dominant side (bullish/bearish) changes. The signals, while a bit common, can sometimes dictate large direction changes, started by a dominant volume switch.

On top of different display modes, there is also one more volume mode: buy/sell volume. Instead of only showing the total volume and relative volume, it calculates and separates buying and selling volume.

anlık görüntü

This volume mode displays differently in all three viewing modes, but the basic principle is the same. It adds a vital piece of information to the chart without adding clutter. The calculation for buy/sell volume uses the candle wicks and body to compare bullish and bearish movement.

Classic mode

anlık görüntü

Classic mode takes the default volume indicator and improves upon it by also displaying the relative volume on top of the actual volume. Relative volume is calculated similarly between the three display modes: simply by comparing the current bar’s volume to the volume at the same time during previous trading days. Classic mode displays this “relative volume” as well as a simple EMA over top of the actual trading volume.

Originality

The script improves upon the existing relative volume indicator by using previous trading days rather than previous candles to generate the relative volume. On top of that, the calculation methods are unique, using different formulas like variations of the sigmoid function to smooth noise. The main issue this script aims to fix is that towards the start or end of the day relative volume indicators all see spikes as volume grows into close. The new relative volume calculations fix this problem and show what the “true” relative volume is because they compare the current bar to the “same” bar on previous trading sessions.
Sürüm Notları
  • Added a smoothing line to all modes, with color dependent on direction and toggle on/off
  • Added input for smoothing factor to control smoothing line
  • Added additional controls for zero line (toggle, color)
  • Added toggle for "Total Volume" and "Direction Change Labels"
fluxchartsOscillatorsvolumeanalysisvolumedeltavolumeoscillatorVolume

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?


Access Flux Charts' exclusive indicators: FluxCharts.com/?via=tv

Join our FREE Discord for live trading sessions, signals, & trading resources: discord.gg/FluxCharts
Aynı zamanda::

Feragatname