OPEN-SOURCE SCRIPT

Heikin Ashi Strategy Example

A strategy which calculates it's entry/exit conditions using HeikinAshi prices and executes orders using real prices (usual candles). NOTE that strategy should be added on a usual candles chart. Heikin Ashi prices are requested in the Pine code using 'security' function.

This is a possible solution to a question getsatisfaction.com/tradingview/topics/strategy-tester-places-incorrect-orders-in-backtesting-when-using-heikin-ashi-candles?reply[id]=19502808#reply_19502808

Oscillators

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