Heikin-Ashi: Difference between revisions
From MultiCharts
m
no edit summary
mNo edit summary |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
===Understanding Heikin-Ashi Chart Type=== | ===Understanding Heikin-Ashi Chart Type=== | ||
[[File:HAChart1.png|right|HA]] The Heikin-Ashi chart type is constructed like a regular candlestick chart (except with the new values above). The time series is defined by the user depending on the type of chart desired (daily, hourly, etc.). Instead of using the open-high-low-close (OHLC) bars like standard candlestick charts, the Heikin-Ashi technique uses a modified formula: | |||
For the first bar of the data series, HA_Open = Open<br> | |||
HA_Close = (Open+High+Low+Close)/4 <br> | |||
HA_Open = [HA_Open (previous bar) + HA_Close (previous bar)]/2<br> | |||
HA_High = Max (High, HA_Open, HA_Close)<br> | |||
HA_Low = Min (Low, HA_Open, HA_Close) | |||
===Selecting Heikin-Ashi Chart Type=== | ===Selecting Heikin-Ashi Chart Type=== | ||
Line 51: | Line 51: | ||
There is no difference between order generation on Regular and Heikin-Ashi chart types with regards to Backtesting and Data Playback. | There is no difference between order generation on Regular and Heikin-Ashi chart types with regards to Backtesting and Data Playback. | ||
To learn how Intra-Bar Order Generation and Bar Magnifier work on Heiken Ashi Chart Type, see [[Intra-Bar Order Generation, Bar Magnifier on Non-Standard Chart Types|this page]] | |||
====Real-Time simulation==== | ====Real-Time simulation==== | ||
Line 62: | Line 63: | ||
| Buy next bar at market | | Buy next bar at market | ||
| Order is placed on the first tick of the new bar, i.e. on Open of next bar. | | Order is placed on the first tick of the new bar, i.e. on Open of next bar. | ||
| Order is placed on Open of | | Order is placed on Open of Heikin-Ashi bar, when the new tick of this bar is received. Open of the Heikin-Ashi bar is not equal to the price of the received tick. HA Open = (HA Open[1] + HA Close[1])/2. | ||
|- | |- | ||
| Buy this bar at close | | Buy this bar at close | ||
| Order is placed on the last tick of a bar, i.e. on the Close of the current bar. | | Order is placed on the last tick of a bar, i.e. on the Close of the current bar. | ||
| Order is placed on the Close of the current Heikin Ashi bar. Close of the Heikin Ashi bar is not equal to the price of the tick that closes this bar. | | Order is placed on the Close of the current Heikin Ashi bar. Close of the Heikin Ashi bar is not equal to the price of the tick that closes this bar. | ||
HA Close = (Open + High + Low + Close)/4. | HA Close = (Open + High + Low + Close)/4. | ||
|- | |- | ||
Line 75: | Line 76: | ||
|} | |} | ||
[[Category:Non-Standard Chart Types]] | [[Category:Non-Standard Chart Types]] |