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.
Nota Keluaran:
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.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?