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
bullbearOscillatorsRelative Strength Index (RSI)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明