LuxAlgo

Visible Range Mean Deviation Histogram [LuxAlgo]

This script displays a histogram from the mean and standard deviation of the visible price values on the chart. Bin counting is done relative to high/low prices instead of counting the price values within each bin, returning a smoother histogram as a result.

Settings

  • Bins Per Side: Number of bins computed above and below the price mean
  • Deviation Multiplier: Standard deviation multiplier

Style

  • Relative: Determines whether the bins length is relative to the maximum bin count, with a length controlled with the width settings to the left.
  • Bin Colors: Bin/POC Lines colors
  • Show POCs: Shows point of controls

Usage

Histograms are generally used to estimate the underlying distribution of a series of observations, their construction is generally done taking into account the overall price range.

The proposed histogram construct N intervals above*below the mean of the visible price, with each interval having a size of: σ × Mult / N, where σ is the standard deviation and N the number of Bins per side and is determined by the user. The standard deviation multipliers are highlighted at the left side of each bin.

A high bin count reflects a higher series of observations laying within that specific interval, this can be useful to highlight ranging price areas.


POCs highlight the most significant bins and can be used as potential support/resistances.
Notas de Lançamento:
Minor changes.

Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?