"Consecutive Candles" identifies instances when excessive amounts of candles have closed in the same direction. This type of analysis is interesting for both trend followers as well as swing traders.

For trend followers, it may be a possible sign of a new trend formation. For swing traders it is a possible sign that a correction may be coming.

Autochartist keeps track of every instrument’s typical quantity of consecutive candles, and when an exceptional movement occurs, the trader is alerted to this event.

**Statistical Details**

Autochartist looks back up to 600 candles, for every instrument, for every direction, for Hourly, 4 Hourly, and Daily candles and generates a histogram of consecutive candles. That means we keep track of 5 distributions for every instrument.

For example, below is the probability distribution for the example displayed above, USDJPY 4 hourly candles:

We can see from the above histogram, that over the last 600 candles, about 50% of the time we only get 1 “consecutive” bullish candles - meaning that over 50% of the time USDJPY H4 graph just alternates between bullish and bearish candles. We can also see that about 30% of the time, we get 2 consecutive bullish candles, and about 10% of the time we get 3 consecutive candles.

If we add up these numbers until a threshold of 95%, then anything above that would be regarded as “out of the norm” by more than 2 standard deviations.

That means that if the USDJPY H4 chart has 4 or more consecutive bullish candles it would trigger a “result” in Autochartist.

Each symbol, data interval and direction may result in a different probability distribution. Furthermore, because we use a moving window of historical data to recalculate new distributions every day, the results may change over time.