OPEN-SOURCE SCRIPT

Counting Positive and Negative Bars

1 156
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..

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.