OPEN-SOURCE SCRIPT
Updated Faust

Faust is a composite indicator that combines 3 volume indicators: TSV, OBV, and PVT.
TSV moving average is plotted as an oscillator. OBV and PVT are calculated internally.
Four divergences are calculated for each indicator (regular bearish, regular bullish, hidden bearish, and hidden bullish) with three look-back periods (high, mid, and small).
For TSV, the fattest plotted line is the divergence with the highest look-back period, and the thinnest line is the divergence with the shortest look-back period.
For PVT, the larger the circle, the higher the divergence look-back period.
For OBV, the larger the triangle, the higher the divergence look-back period.

TSV moving average is plotted as an oscillator. OBV and PVT are calculated internally.
Four divergences are calculated for each indicator (regular bearish, regular bullish, hidden bearish, and hidden bullish) with three look-back periods (high, mid, and small).
For TSV, the fattest plotted line is the divergence with the highest look-back period, and the thinnest line is the divergence with the shortest look-back period.
For PVT, the larger the circle, the higher the divergence look-back period.
For OBV, the larger the triangle, the higher the divergence look-back period.
Release Notes
Add CVD divs, fix colors.Release Notes
Add TSV Oscillator ModeRelease Notes
- Implemented a different method to draw divs for TSV to reduce the number of outputs on the chart and make space for the hidden div alerts.
- Added alerts for hidden divs
- Refactored inputs
Release Notes
Fix the source bugRelease Notes
Make hlc3 a default sourceOpen-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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.