Jump to content

Heiken Ashi


Recommended Posts

Hi 

I've been doing some research into the Heiken Ashi indicator and I must be misunderstanding how it is calculated because the results I get don't tally with the values on IG. Here's the formula I used from IG's own website:

  • Calculate the open = (open of previous bar + close of previous bar) divided by 2
  • Calculate the close = (open + close + high + low of current bar) divided by 4
  • Calculate the high = the maximum value from the high, open, or close of the current period
  • Calculate the low = the minimum value from the low, open, or close of the current period

If you take this calculation and implement it on IG data (or ctrader for that matter) you get slightly different results.

Often when looking at the Heiken ashi indicator the candle does not develop a wick on one end when the trend starts to pick up pace. I can't get that it happen if I take the data and then calculate my own heiken ashi.

The reason why I want to know is because I am trying to do some back testing on Excel.

 

Looking forward to hearing your input

 

All the best

 

Adam

 

Link to comment

"Before moving to a spreadsheet example, note that we have a chicken and egg dilemma. We need our first Heikin-Ashi candlestick before we can calculate future Heikin-Ashi candlesticks. "

https://school.stockcharts.com/doku.php?id=chart_analysis:heikin_ashi

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
      23,679
    • Total Posts
      97,187
    • Total Members
      44,242
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    KC19
    Joined 11/12/23 07:16
  • Posts

    • Bitget has been on the news recently for the right reasons and I feel they should be a tier 1 CEXes not just for rewarding their potential users but for being very innovative by simplify trading experience on their platform. 
    • Asia stock indices mostly advance as China consumer prices drop the most in three years after another positive session in the US on Friday, shrugging off stronger-than-expected US jobs data ahead of Wednesday's FOMC meeting. With the ECB and BOE meeting on Thursday, volatility is likely to pick up in the middle of the week. While today's economic calendar is devoid of any market moving data, Tuesday should be more interesting with UK unemployment, Germany ZEW economic sentiment and the US inflation data releases.   
    • JTO strategic focus on community driven governance and network management will greatly influence and impact the Solana ecosystem, and that could be seen in the tokens allocation ratio to validators and the community. With the success of other projects like BLUR, PYTH, JUP and the incredible JTO all under Solana ecosystem, Solana is on the path to match up or even displace Ethereum as Defi king hence it's a good time to buy and HODL Sol. NFA tho.
×
×
  • Create New...
us