PROTECTED SOURCE SCRIPT

BBI (4MA/4) overlay

By Xiao4
The BBI is a kind of Bull & Bear Index, which famous among Chinese traders.

Calculating method:
BBI = (( MovingAverage({source}, {M1}) + MovingAverage({source}, {M2}) + MovingAverage({source}, {M3}) + MovingAverage({source}, {M4})) ÷ 4) secured in {resolution}
(source: wiki.mbalib.com/wiki/多空指数)

Configuretion:
{resolution}, {source} and {M*} are configurable. you could also feel free to use the default values.

People believe that If the price is above the BBI line, then this ETP is in the Bull market, and otherwise in the Bear market.
BBIMoving AveragesTrend Analysis
Xiao4
([^ ])+[^]*(?:[\S\s]*?\/\1

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer