PINE LIBRARY

WeightedVolumeUtils

111
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 devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.