lucafinocchio

Volume with force

lucafinocchio Mis à jour   
This indicator shows the classic stock volume chart with a plottable 20 periods SMA line. Along with this, it shows to the top right of the pane a percent, showing the current "volume force".

This force is calculated as the SMA of the last 3 volume candles excluded the current candle (only counts finished candles) and then compare it with the standard 20 periods volume SMA.

Some examples for a better understanding:
  • A value of 200% means that the SMA of last 3 candles is equals to 2 times of the 20 periods volume SMA
  • A value of 100% means that the SMA of last 3 candles is equals to the 20 periods volume SMA
  • A value of 50% means that the SMA of last 3 candles is equals to 1/2 of the 20 periods volume SMA
  • A value of 25% means that the SMA of last 3 candles is equals to 1/4 of the 20 periods volume SMA

If the value is above 100%, the background will be green, red otherwise. A green value means that the symbol is having a nice volume income.

Customizable settings
  • Timeframe: the main TF to plot volume and calculate force
  • MA Length: the length of the standard volume SMA to plot (and to compare for the force calculation)
  • Diff force length: the length of the last candles (excluded the current candle) to compare with the standard volume SMA
  • Show moving average: if checked, plots the standard SMA
  • Show volume force: if checked, shows to the top right the volume force
Notes de version:
  • Changed indicator name to better describe that the timeframe is customizable
  • Added an alert that triggers when the current volume is > than SMA 20 periods (20 by default, the period is customizable)

Instructions to make the alert work:
  • Add the indicator to your layout
  • Set the desidered settings
  • Create an alarm (Alt + A)
  • In the first condition toolbox select "Volume with tf force"
  • Press create (unless you want to change secondary stuff like notification settings)
Notes de version:
Colors of the long and short columns are now customizable
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?