PINE LIBRARY

WeightedVolumeUtils

268
Library "WeightedVolumeUtils"

fun(x)
  Returns the input value (placeholder function).
  Parameters:
    x (float): A float value.
  Returns: The same float value passed as input.

weightedBSEVolume()
  Calculates the weighted volume for BSE index based on top constituent stocks.
  Returns: Weighted volume value based on fixed weights for BSE SENSEX stocks.

getAdjustedVolume()
  Returns the adjusted volume for SENSEX or regular volume otherwise.
  Returns: Weighted BSE volume if current symbol is SENSEX, else raw volume.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.