TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Heikin-Ashi transformation and executable prices

Study heikin-ashi transformation and executable prices through mechanisms, a synthetic worked case, practice, and explained assessment.

Candlestick Analysis

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Understand ordinary OHLC, arithmetic means and recursive calculations.

Mechanism and interpretation

Heikin-Ashi candles transform ordinary prices to emphasise smoothed movement. Under the explicit convention here, HA close is the average of the current real open, high, low and close. HA open is the average of the previous HA open and HA close. HA high is the maximum of the real high, current HA open and current HA close; HA low is the corresponding minimum using the real low. Seed the first HA open explicitly, because recursive history affects early values.

These are derived observations. A synthetic open can lie outside the current real bar's traded range because it carries prior-bar information. A green HA body means the transformed close exceeds the transformed open; it need not mean the real close exceeds the real open. Use the transformed series as an analytical input only with its timing respected. Any simulation of orders must separately reference actual market prices and an execution model, not automatically fill at a synthetic HA endpoint.

Worked case — synthetic data

Synthetic previous HA open is 100 and HA close 104. Current real bar is O=110, H=112, L=106, C=107. New HA open is (100+104)/2=102 and HA close is (110+112+106+107)/4=108.75. HA high is 112 and HA low is 102. The transformed candle is green, although the real candle fell three points from 110 to 107. Its HA low 102 is below the real low 106; a simulated buy at 102 during this bar would assume a price the supplied real bar never traded.

If the next real bar is O=107, H=109, L=103, C=104, its HA open becomes (102+108.75)/2=105.375 and HA close is 105.75. The transformed body remains slightly positive while the second real body is again negative. This is smoothing, not contradictory raw data.

Context and failure modes

Definitions in platform explanations can be abbreviated; inspect the actual formula and seed. Session changes and aggregation order also affect the transformed series. A smooth appearance can delay visible turns, and traditional candle-pattern rules applied to transformed bars describe different objects from the original OHLC patterns.

Practice task

Previous HA open 50 and HA close 54; current real O=60, H=62, L=58, C=59. Calculate all four HA values and identify a non-executable synthetic endpoint within this bar.

Worked practice answer

HA open is 52; HA close is 59.75; HA high is 62; HA low is 52. Both the synthetic open and low are below the real low 58, so they cannot be assumed to have traded during this bar. The real body is down while the transformed body is up.

Topic assessment

Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.

1. Which values feed this lesson's recursive HA open?

  1. Previous HA open and previous HA close
  2. Current real high and low only
  3. Tomorrow's real open and close
Reveal answer and explanation

A. The transformed open carries the preceding transformed body's midpoint.

2. Why is a fill at HA low 102 invalid in the case's current real bar?

  1. The real close was green
  2. The real low was 106
  3. HA lows always equal zero
Reveal answer and explanation

B. The derived 102 lies outside the observed real range.

3. Can two consecutive real down bodies produce green HA bodies?

  1. No
  2. Only if the formula is broken
  3. Yes
Reveal answer and explanation

C. Recursive averaging can remain upward even while recent real bodies turn down.

Primary references and scope

Original explanation and synthetic calculations. Chart thresholds are explicit research conventions, not exchange rules or proof of predictive ability.