OPEN-SOURCE SCRIPT

First candle of ≥4 same‑colour candles

302
Classifies each candle as bullish or bearish. A candle is considered bullish when the closing price is above the opening price, and bearish when the closing price is below the opening price
investopedia.com
; traditional charts depict bullish candles in green or white and bearish candles in red or black
investopedia.com
.
Counts consecutive candles of the same colour. Whenever a green candle appears, it increments a “bull run” counter; the counter resets to zero on a red candle. Likewise, it maintains a “bear run” counter that increments on red candles and resets on green candles.
Detects long runs of momentum. If a run of green candles reaches four or more bars, the indicator marks the very first candle of that sequence with a small green triangle below the bar. Similarly, if a run of red candles reaches four or more bars, it marks the first candle of that bearish run with a red triangle above the bar. Only the initial bar of each qualifying run is highlighted, even if the run later extends to five, six, or more candles.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.