OPEN-SOURCE SCRIPT

BERLIN Candles

A problem with Heikin Ashi is that while it gives you a great overview of overall direction, it is rarely possible to use it as a replacement for normal japanese
candlesticks. The reason for this is that actual price data is lost, since the candles are more akin to a moving average than a different way to see price action. Also, with Heikin Ashi, most of the actual price action is lost, because the candles can be bigger than the high and low of the underlying japanese candlestick.

With BERLIN Candles I have tried to fix that problem. By using a smoothed out version of the previous Heikin Ashi candle close as the current BERLIN Candle open, the high and low of the actual japanese candlestick for the high and low of the BERLIN Candle, and the current Heikin Ashi close as the BERLIN Candle close, while setting hard limits for BERLIN Candle open and close values so that they can never exceed the high and low of the underlying japanese candlestick.

One problem still persists though. The actual current price data is lost. However, the BERLIN Candles have solved this by adding a fifth part to the candles. The close of the underlying japanese candlesticks are indicated with a plus-sign. This way, actual price data is never lost, while keeping all of the other benefits of this type of candles.

A few added bonuses:
  • The addition of the 14 period ATR at the latest candle
  • The baseline from Ichimoku is included as an option
  • The 14 period ATR value of each candle can be seen in the indicator data as
    the orange value

berlincandlesCandlestick Analysisheiken-ashiheikenashiheikin-ashiheikinashiIchimoku CloudTrend Analysis

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer