OPEN-SOURCE SCRIPT
Bull Bear Power

1. Calculate
* Base on RSI status in the same period of price bar, "Bull Bear Power" is counting number of bars moved above 70 then return result to "bull power" series, and counting number of bars moved below 30 then return result to "bear power" series.
* By default RSI period is 2 and Bar period is 15.
2. Interface
* Bull power: green columns.
* Bear power: red columns.
* Info Line: show info of RSI and Bull Bear Power
- Bull Bear Power info: Period, Bull value, Bear value
- RSI info: RSI value, RSI status: overbought (>70), oversold(<30), crossunder 70, crossover 30.
3. Trade:
* Consider place Long oder when Bull power increase from below to above Bear power
* Consider place Short oder when Bear power increase from below to above Bull power
* Base on RSI status in the same period of price bar, "Bull Bear Power" is counting number of bars moved above 70 then return result to "bull power" series, and counting number of bars moved below 30 then return result to "bear power" series.
* By default RSI period is 2 and Bar period is 15.
2. Interface
* Bull power: green columns.
* Bear power: red columns.
* Info Line: show info of RSI and Bull Bear Power
- Bull Bear Power info: Period, Bull value, Bear value
- RSI info: RSI value, RSI status: overbought (>70), oversold(<30), crossunder 70, crossover 30.
3. Trade:
* Consider place Long oder when Bull power increase from below to above Bear power
* Consider place Short oder when Bear power increase from below to above Bull power
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.