Strategy Research
Heikin Ashi vs Real Candlesticks: Why Your Backtest Could Be Misleading
Learn how synthetic Heikin Ashi OHLC differs from actual market prices and how to configure TradingView's standard OHLC fill option.
On this page+

Heikin Ashi candles use calculated values to smooth the appearance of trends. Their displayed open, high, low and close are not necessarily prices that traded during the bar. This distinction is critical when a strategy's broker emulator fills orders at the chart's synthetic prices. This is general education, not personalised investment advice; futures trading can result in losses exceeding deposits.
How Heikin Ashi is calculated
The Heikin Ashi close is the average of the standard open, high, low and close. The Heikin Ashi open is based on the previous synthetic open and close. The synthetic high is the maximum of the actual high and synthetic open and close; the synthetic low is the corresponding minimum.
The smoothing can make trend transitions appear different from standard candles. A synthetic open can even sit outside a bar's actual traded range, so the displayed candle is not a reliable executable price quotation.
A simple numerical illustration
Suppose a standard bar opens at 100, reaches 106, trades down to 98 and closes at 104. Its Heikin Ashi close is 102. If the previous synthetic open and close were 96 and 98, the new synthetic open is 97, below the actual bar low of 98.
A hypothetical simulated buy at 97 within that bar would not be supported by the standard bar's recorded range. This is an arithmetic illustration of synthetic prices, not a real trade result.
TradingView's standard OHLC setting
TradingView offers the strategy property Fill orders using standard OHLC on Heikin Ashi charts, exposed in Pine Script as fill_orders_on_standard_ohlc. It uses standard candle prices for the broker emulator's fills instead of the synthetic chart prices.
This setting improves one aspect of realism but does not turn a simulation into live execution. Signal calculations can still depend on Heikin Ashi data, and intrabar order assumptions, latency, costs and liquidity remain relevant.
Separate signal generation from order execution
Define whether the strategy uses synthetic candles to generate signals and standard prices to size orders and test exits. Record the alert timestamp, actual instrument, order type and expected fill policy. Compare the results on the same period using realistic costs.
Use the TradingView Strategy Tester versus broker results audit to compare individual fills, not only net profit totals. Forward testing on paper can reveal configuration errors but cannot guarantee live fill quality.
Frequently asked questions
Are Heikin Ashi prices actual traded prices?+
Not necessarily; they are calculated OHLC values.
Can I use Heikin Ashi signals with standard fills?+
Yes, TradingView supports standard OHLC fills for strategies on Heikin Ashi charts, subject to configuration.
Does the setting guarantee realistic live results?+
No. It addresses synthetic fill prices, not all limitations of simulation.
Technical analysis
Continue with the topic hub.
Browse the related TradeLuma guides and build the topic from foundations through practical application.
Explore Technical analysis guides →Continue learning
Related guides.

TradingView Strategy Tester vs Real Broker Results: Where Does the Profit Go?
Compare simulated and actual trade records using timestamps, commissions, slippage, missed orders, partial fills and a reconciliation workflow.

Repainting TradingView Strategies: How to Spot Misleading Backtests
Learn why TradingView signals can change, how future-data leakage differs from ordinary intrabar updates, and how to evaluate protected scripts with forward logs.

Are Paid Trading Strategies Worth It? The Real Cost of a Subscription
Evaluate a paid trading strategy using subscription fees, commission, slippage, margin risk and a worked break-even calculation before buying.
