Bezzus

Interquartile range

Bezzus Updated   
This script plots the Interquartile range (difference between 3rd and 1st quartile), providing useful infos about price distribution and volatility . It is designed to work paired with my other script "Moving percentiles channel", but you can also use it alone.

Features:
- You can compute the percentiles using Linear interpolation or Nearest Rank methods
- You can plot not only the Interquartile range, but also the range (difference between 100th and 0 percentiles) or a User defined range (you have to select which percentiles you want to use from the settings)
- The script also plots a signal line that you can use to obtain signals when the Range line crosses the signal line itself. You can plot the signal line using many different MAs ( SMA , EMA , DEMA , TEMA , WMA , VWMA , HMA , ALMA , LSMA , FRAMA ).
- It also plots an histogram that represents the difference between the Range and the Signal line. It will be green colored when positive, and red colored when negative.

Please show me your support and follow me if you like my scripts. Many more of them are coming in the future.
@ Bezzus
Release Notes:
Updates:
- Removed unnecessary code lines.

@Bezzus
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?