OPEN-SOURCE SCRIPT

Bulls vs Bears

Updated
The script measures relative strenth of bull bars vs bear bars that complete the next rules:
1) rising price with rising volume calculates as bullish only if the next candle is higher
2) falling price with falling volume calculates as bullish only if the next candle is higher
3) rising price with falling volume calculates as bearish only if the next candle is lower
4) falling price with rising volume calculates as bearish only if the next candle is lower

examples
ethusdt
snapshot
shitperp
snapshot
bsvusdt
snapshot
btcusdt
snapshot
Release Notes
one logic error was corrected
Money Flow Index (MFI)OscillatorsVolume

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer