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.
版本注释:
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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?