OPEN-SOURCE SCRIPT

Stoch_BBW_inv

Top signal: reaches -100 when the color is yellow
Bottom signal: reaches -100 when the color is red

This script calculate a stochastic oscillator of BBW, and defines a top and a bottom as its highest in N bars.

Penafian