OPEN-SOURCE SCRIPT

Green Bars

5 173
A simple script to count the number of up days, or intraday bars, (Green Bars) for a given Look Back period.

Inputs are: Look Back Period and Increment.

Use 0 for the Increment to count only the up days, or bars.
Use -1 to include the down days, or bars, in the sum.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.