This indicator counts consecutive green/red candles offering some basic statistics and signals/alerts.
Features - Counts consecutive green/red candles in an oscillator chart - Moving average of the counting helps spotting when the consecutive candles are away from the mean. MA length and multiplier to adjust the signal sensitivity. - Thresholds can be set to backtest and send alerts on any number of arbitrary consecutive candles of the same color. - All time highs: the indicator keeps track of when the maximum has been reached - Distribution data: the number of times each number of consecutive color candles has been reached is offered
Signals - Threshold signal triggers when the number of candles of the same color is above the specified threshold. - MA cross signal triggers when the number of candles of the same color is above the MA.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. Você pode favoritá-lo para usá-lo em um gráfico.
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.