Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=60133
Forum: 17 · Topic 60133 · 7 post(s)
Apprentice · Thu Dec 19, 2013 3:04 pm

As described in Dan Valcu’s article “Using The Heikin-Ashi Technique” published in S & C magazine.

First Indication Up Arrow - Close Line Up Down Arrow - Close Line Down
Decond indication Up Arrow - Close > Open Down Arrow - Close < Open
Alexander.Gettinger · Mon Aug 18, 2014 2:15 pm
MQL4 version of oscillators: viewtopic.php?f=38&t=61052.
JOKER83 · Sun Sep 07, 2014 5:58 pm
POSSIBLE? haOpen
ALL time frame ONE HAOPEN FOR W1 ONE HAOPEN FOR D1
WHEN I SEE CHART H6 I SEE ALL W1 AND D1 WITH AL TIMES CAN MAKE ON OR OFF I HOPE YOU ASISTENT ME
JOKER83 · Sun Sep 07, 2014 6:02 pm
AND E-MAIL ALERT
Apprentice · Tue Sep 09, 2014 2:45 am
MTF MCP HaOpen (without Alert) Added.
STS Trading · Mon Apr 20, 2015 3:30 am
In the haDiff.lua-file (post of Dec 19, 2013) I fixed a bug calculating the Heikin Ashi open value. From the very beginning the open value is calculated based on the previous Heikin Ashi open value, which doesn’t exists in the first period. Comparing the source code of FXCM Trading Station’s built-in Heikin Ashi indicator I added an if-survey in the update-function:
Code: Select all
if period == first then
open[period] = ( source.open[period-1] + source.close[period-1] ) / 2;
else
open[period] = ( open[period-1] + close[period-1] ) / 2;
end
The revised version can be downloaded here:
Chris
Apprentice · Tue May 08, 2018 5:01 am
The indicator was revised and updated.