OPEN-SOURCE SCRIPT
Updated test - event distribution

Release Notes
v5 updateRelease Notes
added tooltips, descriptions to inputs, added optional external source for event (plot with binary 1:0 output) from any indicator on chart.Release Notes
Update to V6, Added new labels to describe each histogram on tooltips, optimized graphical work (lines, labels) computation, refactored some of the code to be more legible.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.