How to Learn the Heiken Ashi Strategy: Candles, Rules and Real Prices
To learn the Heiken Ashi strategy, work through four steps. First, understand that each candle is built from averages, not real prices. Second, learn to read the four candle shapes that matter. Third, practice one written rule set that enters on a confirmed color flip and exits on the opposite flip. Fourth, check every entry and stop against the real price chart.
That last step protects your money. A Heiken Ashi chart can show a closing price that is not where the market actually closed. A stop or position size worked out from that number can be wrong before the trade even starts.
What a Heiken Ashi candle actually shows
Heiken Ashi (also spelled Heikin-Ashi) is a candle chart built from averaged prices. The name is Japanese. Heikin means average and ashi means pace or bar, so it translates roughly as "average bar".
A normal candle records four real prices from one period: the open, the high, the low and the close. A Heiken Ashi candle mixes the current period with the previous candle. That blending smooths out noise, so trends show up as long runs of one color.
The cost of that smoothness is accuracy. The candle you see is a summary, not a record of real trades. Keep that in mind through every section below.
The four formulas, worked with easy numbers
Every Heiken Ashi candle comes from four rules. These are the rules in the standard version of the indicator:
- HA close = (Open + High + Low + Close) ÷ 4, using the current real bar.
- HA open = (previous HA open + previous HA close) ÷ 2. This is the midpoint of the previous Heiken Ashi candle, not the market's real opening price.
- HA high = the highest of the real high, the HA open and the HA close.
- HA low = the lowest of the real low, the HA open and the HA close.
Here is an illustrative example on EUR/USD. Say the previous Heiken Ashi candle opened at 1.1000 and closed at 1.1020. The current real bar opens at 1.1020, reaches a high of 1.1050 and a low of 1.1010, and closes at 1.1040. The calculation below shows each step.
Now the high and low. The HA high is the largest of 1.1050, 1.1010 and 1.1030, which is 1.1050. The HA low is the smallest of 1.1010, 1.1010 and 1.1030, which is 1.1010.
So the Heiken Ashi candle is green, because its close is above its open. It also has no lower wick, because its low equals its open. That is the strongest bullish shape this chart can print.
Now compare the two candles. The real bar closed at 1.1040, but the Heiken Ashi candle shows 1.1030. The real bar opened at 1.1020, but the Heiken Ashi candle shows 1.1010. Both are 10 pips away from the real open and close, as the drawing below shows.
How to read Heiken Ashi candles: four shapes and what to do
You don't need dozens of patterns. Four shapes carry almost all the information.
| Shape | What you see | What it suggests | What you do |
|---|---|---|---|
| Green, no lower wick | A body with only an upper wick | Buyers in control, strong uptrend | Hold a long position; don't look for shorts |
| Red, no upper wick | A body with only a lower wick | Sellers in control, strong downtrend | Hold a short; don't look for longs |
| Small body, wicks on both sides | A short body with shadows above and below | The trend may be pausing or turning | Stop opening new trades in the old direction and watch closely |
| Color flip | Red turns green, or green turns red | A possible change of direction | Treat it as a setup to check, not a signal to act on alone |
One more reading rule: the longer a run of same-colored candles lasts without an opposing wick, the stronger that trend is considered. A run of green candles with no lower wicks is a firmer uptrend than a run where lower wicks keep appearing.
The chart below shows all four shapes in one sequence. It starts with a red run, then a pause, a flip to green and a clean green run. After that comes a warning candle and a flip back to red.
Notice what the green run does not show: lower wicks. The candle marked Warning has a small body with wicks on both sides. One candle later, the color flips to red.
A simple Heiken Ashi rule set to practice
Learning "the strategy" means picking one written rule set and following it exactly. Color flips alone give too many false signals to trade, so the set below adds two filters: two averages and a real-price check. It uses two simple moving averages (SMAs). An SMA is the plain average of the last 12 or 50 real closing prices, drawn as a line on the chart. Add the two SMAs to the real candle chart and read them there (rule 2). An SMA added to a Heiken Ashi chart usually uses Heiken Ashi values instead of real closes.
Rules for going long (reverse every rule for a short):
- Wait for a Heiken Ashi candle to flip from red to green, and wait for that candle to close.
- Switch to the real candle chart, where the two SMAs are drawn. The real bar that closed the green Heiken Ashi flip closed above the 12-period SMA, the 12-period SMA is above the 50-period SMA, and the 12-period SMA has been above the 50-period SMA for at least the last 5 candles.
- On the same real chart, find the real swing low before the flip and place your stop below it.
- Size the position from your real entry price to your real stop, never from Heiken Ashi prices.
- Hold while the candles stay green, especially while they have no lower wicks. A small body with two wicks is a warning, not an exit.
- Close the trade at whichever comes first: a Heiken Ashi candle closing red, or price hitting your real stop. Until then, keep the stop below the real swing low from rule 3. The only change allowed is moving it up under a new real swing low once one has formed on the real chart. Never move it under a Heiken Ashi low.
The drawing below shows the long setup on Heiken Ashi candles. The two SMA lines are averages of real closes, shown only so you can see where price sits; rule 2 checks them on the real chart. You can also see the closed green flip, the stop under the real swing low and the exit on the first red close.
Check the real price before every entry
Rule 3 is the one that protects your stop and your position size. Because Heiken Ashi values are averages, they can drift away from the price you will actually get. The gap can grow large in fast markets, which makes signals less reliable. A market order fills at the real bid or ask, and you also pay the bid-ask spread. It never fills at a Heiken Ashi value.
Here is what that does to your risk, using the same example prices. Suppose you buy at what looks like 1.1030 on the Heiken Ashi chart and set your stop at 1.1000. The real market price is 1.1040.
- Risk you planned: 1.1030 − 1.1000 = 0.0030 = 30 pips.
- Risk you actually took: 1.1040 − 1.1000 = 0.0040 = 40 pips.
- Extra risk: 10 ÷ 30 = one third more than you planned.
If you sized the trade to lose a fixed amount over 30 pips, a stop-out now costs a third more than that amount. Decision rule: before every order, write down the real entry and the real stop. If either differs from the number you planned on the Heiken Ashi chart, redo the position size.
Heiken Ashi also hides price gaps. Each candle blends in the prior period, so a jump between one close and the next open gets smoothed away. That matters for your stop. A gap can jump straight past it, so the order fills at a worse price than the stop, and only the real chart shows the gap happened. Look for gaps on the real chart before you place a stop.
Which timeframe to learn Heiken Ashi on
Heiken Ashi always reacts later than real candles, because each candle carries part of the previous one. That lag makes it better suited to swing trading and to managing a trade you already hold than to catching early entries.
Fast charts add two more problems. On a 1-minute or 5-minute chart, each move is small, so the spread you pay on every entry and exit takes a bigger share of it. The color also tends to flip back and forth more often, so you pay that spread more often. A 4-hour or daily chart suits the slower, swing-trading pace that the lag fits best.
Learn the strategy on the 4-hour or daily chart first.
How to practice until the rules are automatic
- Calculate three candles by hand from real bar prices using the four formulas. After that, the way each candle opens in the middle of the previous one stops looking strange.
- Put a real candle chart and a Heiken Ashi chart side by side, using the same pair and timeframe.
- Scroll back on the daily chart and mark every color flip. For each one, write down whether rules 1–3 were met and what price did before the opposite flip.
- Trade the rules on a demo account. For every trade, log three numbers: the Heiken Ashi close at the signal, the real price you got and the stop distance in real pips.
- Move to a faster timeframe, or from the demo account to real money, only when your journal shows you followed every rule on every trade.
Mistakes that cost beginners money
Trading every color flip. In a sideways market the color keeps switching back and forth, and every entry and exit costs you the spread. Fix: skip any flip that fails rule 2.
Trailing your stop under Heiken Ashi lows. Once a trade moves in your favor, it is tempting to move the stop up under each Heiken Ashi candle. Heiken Ashi lows do not sit higher than real lows. Each HA low is the lowest of the real low, the HA open and the HA close, so it is never above that bar's real low. The real mistake is trailing candle by candle. Each new low belongs to the latest bar, not to a confirmed swing low where the market actually turned, so an ordinary pullback can reach a stop stepped up that tightly. Fix: follow rule 6 and move the stop only under a new real swing low on the real chart. The first red Heiken Ashi close is still your exit. The stop only protects you if price falls fast before that close.
Buying a flip straight into real resistance. A green flip can close just below a real prior swing high. Because of the lag, the Heiken Ashi chart can look as if there is room to run when price is already pressing against that level. Fix: use this optional extra filter, which is not part of rules 1–6. Before entering, mark the nearest real swing high. If it is closer to your entry than your stop is, skip the trade.
Adding to the trade on a warning candle. A small body with two wicks can look like a cheap pullback to buy more. It signals the opposite: the trend may be pausing or turning. Fix: never add on a warning candle. If you add at all, wait for a fresh closed green candle with no lower wick, and recalculate your total risk from the real stop.
Heiken Ashi strategy FAQ
Can I see the real price while I watch a Heiken Ashi chart?
Yes. You can open a normal candle chart of the same pair next to the Heiken Ashi chart, or show Heiken Ashi in its own panel below real candles. Many charting tools can also display the last real price on the price scale. Whichever setup you choose, read entry and stop prices from the real candles.
Should I wait for two green candles before buying?
The rule set above enters after one closed green flip. Waiting for a second green candle gives you more confirmation that the flip is real, but it adds another candle of lag, so you enter later and further from the swing low. Test both versions in your journal and keep the one you can follow consistently.
Should I use the Heiken Ashi close for my take profit?
No. Work out any target from your real entry price, not from a Heiken Ashi close. The rule set above has no fixed target. You exit on the first red close. That lets winning trades run, but because of the lag you give back part of the move while you wait for the flip.
How many Heiken Ashi trades should I take per day?
There is no target number. On a 4-hour or daily chart, a setup that passes the moving-average filter may not appear every day on a single pair. Forcing trades to reach a daily count is how traders end up breaking the rules.
Can I use Heiken Ashi on stocks or crypto?
The formulas only need open, high, low and close, so they work on any market that has candles. The same warnings apply everywhere. Stocks and indices often gap overnight, and Heiken Ashi smooths those gaps away, so checking the real chart matters even more there. To find setups, go through a short watchlist on the daily chart once a day and note only the pairs or stocks that show a closed flip above both averages.
Do Heiken Ashi signals repaint after the candle closes?
Not after the close, but the live candle does change before it closes. The HA close is the average of the current bar's open, high, low and close, and the HA high and low are based on the real high and low. Those prices keep moving until the bar closes, so the live candle can change size and even turn a different color. That is why rule 1 waits for the candle to close. Only the HA open stays fixed, because it comes from the previous, finished candle. Once the bar closes, all four HA values come from finished prices, so the candle stays as it is.
Why does my Heiken Ashi chart look different from a friend's?
Each HA open is the midpoint of the previous HA candle. So every candle depends on the one before it, all the way back to the first candle on the chart. That first candle has no earlier Heiken Ashi candle, so its open has to be seeded from real prices. Two charts that load different amounts of history, or seed the first candle differently, can show slightly different opens for the same bar. The difference gets smaller with every new candle, because each open carries only half of the previous open's error.
How to Learn Forex Basics: What to Learn First, With the Maths ShownNext lesson →
Forex Basics: How Currency Trading Works, Explained From Zero
Part of Forex basics: more guides, terms and free tools on this subject.









