OPEN-SOURCE SCRIPT

Counting Positive and Negative Bars

840
Counting Positive and Negative Bars: It goes through a specified number of bars and counts how many are positive (close above the previous value) and how many are negative (close below the previous value).

Imbalance Criterion: If the count of negative bars exceeds that of positive bars by a configurable margin (such as 60%), it signals a possible buy (Long) condition. The opposite applies for sell (Short) conditions..

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.