Heikin Ashi - multi-time frame
Author: Alex_Hurko
Creation Date: 5/16/2013 7:48 AM
profile picture

Alex_Hurko

#1
hi,
I need to use daily heikin-ashi in my code. How can I generate heikin ashi open?

CODE:
Please log in to see this code.


formula for ashi open is Open = [Open (previous bar) + Close (previous bar)]/2
profile picture

Eugene

#2
Try this:

CODE:
Please log in to see this code.


Don't forget that you can search the forums by using our cool search-as-you-type feature (examples: #1, #2). Also, you could find some ready-made Heikin Ashi code in the QuickRef, Bars object > SaveToFile. On a related note, Heikin Ashi chart style exists in Community ChartStyles.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).