A trend you spotted on Monday closes red on Wednesday. The next day it closes red again. By Friday you have exited a position that, two weeks later, is still in the same uptrend it was in when you got shaken out. Standard candlesticks do not lie about those two red days. They also do not tell you whether those two red days are part of a genuine reversal or routine intratrend chop. Heikin Ashi bars try to answer that second question by smoothing the picture, and the smoothing is mechanical, not opinion. The smoothing is not free. You give up something specific to get something specific, and which side of that trade you should be on depends entirely on what you are asking the chart to do.
How Heikin Ashi bars are calculated
Each Heikin Ashi bar (HA bar from here) is built from four numbers, every one of them derived from the regular OHLC of the same bar and from the previous HA bar. The formulas are:
- HA Close = (Open + High + Low + Close) / 4
- HA Open = (prior HA Open + prior HA Close) / 2
- HA High = max(High, HA Open, HA Close)
- HA Low = min(Low, HA Open, HA Close)
The HA Close is the average of the four standard prices for that bar. The HA Open is the midpoint of the previous HA bar’s own body. The HA High and HA Low extend out to whichever of the three values (real high or low, HA Open, HA Close) is most extreme.
The first bar in the series needs a seed because there is no prior HA Open or HA Close. The convention I use is HA Open seed = (Open + Close) / 2 of the first bar. After that the recursion takes over and every HA Open from then on is the average of the previous body.
Worked example. Take a bar with Open 100, High 102, Low 99, Close 101. HA Close is (100+102+99+101)/4 = 100.5. Seeded HA Open is (100+101)/2 = 100.5. HA High is max(102, 100.5, 100.5) = 102. HA Low is min(99, 100.5, 100.5) = 99. The next bar opens at 101, makes a high of 103, a low of 100.5, and closes at 102.5. Its HA Close is (101+103+100.5+102.5)/4 = 101.75. Its HA Open is the midpoint of the previous HA body: (100.5+100.5)/2 = 100.5. HA High is max(103, 100.5, 101.75) = 103. HA Low is min(100.5, 100.5, 101.75) = 100.5. That second HA bar is green, body 1.25 points wide, no lower wick, upper wick from 101.75 up to 103.
Notice what just happened. The HA Open of the second bar (100.5) is below the standard Open of that bar (101). The HA Close (101.75) is below the standard Close (102.5). The HA bar is reporting the bar’s average price and the previous bar’s body midpoint, not the actual open and close. That is the entire trick, and it is the source of every advantage and every cost that follows.
How HA bars look different from standard candles
Side by side on the same instrument, a Heikin Ashi chart of a strong uptrend looks like a run of green bars with flat or near-flat lower wicks. The bodies stay the same colour for longer. The wicks shrink on the contra-trend side and lengthen on the with-trend side, because the HA Open is anchored to the prior body and the HA High or Low extends to the real extreme.
A standard candlestick chart of the same period shows mixed colours through the same advance. There will be red candles inside the green run, because individual bars genuinely closed lower than they opened. HA bars wash those red bars out by averaging the four prices and by averaging the body open against the previous body. Three of those four inputs (HA Close, HA Open, and at least one of HA High or HA Low) are derived numbers, not prices a real trade ever happened at.
This is where the first concrete trap lives. The HA Close is not the real close. You cannot place a stop or a limit at “the HA Close” because no order ever printed there. HA bars are a visual filter sitting on top of real OHLC, and orders still belong on real prices. I treat the HA series as a colour overlay for trend state and I read fills, stops, and entries from the regular candlestick chart underneath.
What the smoothing removes
The smoothing kills three specific kinds of noise. The first is the single-bar reversal inside a trend: a bar that closes 1.5% below its open on a stock that has been climbing 0.5% per day for three weeks. On the standard chart that is a red candle. On the HA chart it is usually a green or doji bar with a longer lower wick, because the HA Open carries forward the previous body’s midpoint and the average price for the bar is still close to the previous one.
The second is alternating colour. Standard candles flip green and red repeatedly during sideways drift. HA bars in the same drift converge toward doji shapes with bodies near zero and wicks on both sides. The chart reads “no decision” instead of “many small decisions in opposite directions”. I find this useful for staying out, not for getting in, and I will come back to that distinction.
The third is the brief overnight gap inside a trend. A gap-down open followed by a strong intraday recovery still produces a green standard candle, but the gap reads as drama on the price scale. The HA bar averages the gap-down open into the HA Close calculation, so the bar usually still prints green and the visual is calm. This is comparable in spirit to averaging-style indicators like the EMA, except the smoothing happens on the bars themselves rather than on a derived line on top of them.
What the smoothing costs
The cost is lag and loss of price truth, and it is not a small cost.
Because the HA Open is the average of the prior HA body, an HA bar can only fully change colour after at least one bar where the real price moved enough to drag the HA Close across the HA Open. In a sharp reversal, the standard candle prints red immediately. The HA bar may take one to three more bars to flip from solid green to solid red, depending on the size of the prior body and the velocity of the move. That is fine if you are trying to ride a trend and avoid being shaken out. It is not fine if you are trying to react at the bar that broke a swing low.
The second trap is colour interpretation. A green HA bar does NOT mean price closed up on the bar. It means the bar’s average price was above the midpoint of the previous HA body. Sell-offs that close down on the day can still print green HA bars on the way down, and the first red HA bar in a reversal can lag the actual high by several days. If you read HA colour as your daily profit-and-loss signal, you systematically buy late tops and sell late bottoms.
The third cost is that the chart no longer shows you exact entry and exit prices. The HA High and HA Low can equal the real high and low, or they can be wider when the HA Open or HA Close stretch them, but they never anchor to a level a trader can act on. This is why I never draw trendlines across HA wicks. I draw them on standard bars and use HA only for trend state.
Where Heikin Ashi earns its keep
I use Heikin Ashi for one job: staying in trends I would otherwise exit too early. On daily charts of stocks in strong runs, the HA series will often print eight to fifteen consecutive same-colour bars with shallow contra-trend wicks. As long as that colour run is intact I leave a position alone. The first opposing-colour bar with a long opposing wick is the signal to start paying attention to the standard chart underneath, not the signal to close the trade.
It also pairs well with explicit trend tools. A Supertrend line and an HA series together give two independent reads of the same question. If price is above Supertrend and HA is still solid green with flat bottoms, the trend assumption holds. If Supertrend flips and HA prints its first red body inside two bars of each other, the assumption is broken and I act on the standard chart.
For trailing stops I use HA as a visual check, not as the actual stop. The Parabolic SAR dots sit on real prices and produce executable levels. HA tells me whether the trend that SAR is trailing still looks coherent on the smoothed view. If SAR is comfortably below price but the HA series has been printing dojis for a week, the trend has lost its conviction even if no level has broken.
This is the philosophy that traders like Ed Seykota embodied: the only goal is to stay with the trend until it ends, and the work is to filter out enough noise that you do not flinch out early. Heikin Ashi is one filter for that job. It is not a complete system.
Reading reversals: signals and traps
The classic reversal sequence on HA is: a long-bodied trend bar, then one or two doji bars (small body, wicks on both sides), then the first bar of the opposite colour with a long wick on the trend side. That is the visual textbook. It happens often enough at real tops and bottoms to be worth knowing. It also happens repeatedly inside strong trends that then keep going.
The trap is treating every doji-doji-flip sequence as a reversal call. In an uptrend that includes a one-week consolidation, you will get exactly that sequence at the start of the consolidation, then a return to green bars when the trend resumes. If you act on the first red HA bar mechanically you will have sold the consolidation low and watched the trend continue without you.
What I actually look for, when an HA flip happens, is whether the standard chart has broken a real swing low or a real moving average that I was already using for the trend. Without that confirmation the HA flip is information, not a trigger. The HA series is the smoke alarm. The structure break is the fire.
Use the right tool at the right time
Heikin Ashi is a smoothing transform that trades responsiveness for clarity of trend state. Use it for trend persistence reads and for staying in positions through routine pullbacks. Do not use it for entries, do not use it for stops, do not draw levels from it, and do not treat the first opposite-colour bar as a reversal signal on its own. If you switch back to standard candles to place orders and to read structure, and you switch to HA to ask “is this trend still alive”, the tool does what it is built to do and nothing more.
Learn the pattern. Ride the trend. Keep the gains.
Educational content only. Not investment advice. Trading involves risk. You are responsible for your decisions.
