February 4: Follow new BandBreak5 system HERE!!!
Follow my S&P500 and FOREX EUR/USD weekly forecast.
My BBS Trading expert was presented at the 2011 Trading Forum in Denver. More information?
Trade with my DSTfx01 forex robot, (or BandBreak5) watch the VIDEO.
View an excerpt of my last 1st, 2nd and 3rd article about the put/call ratio published in S&C magazine.
Best offer "Capturing Profit with Technical Analysis"!
WINNER "Favorite Article" in the S&C Readers' Choice Award 2010 and 2011. Thank You!
AXIOM business books awards, bronze medal for my book! Thank You!
Sylvain Vervoort
WINNER 2010 and 2011 favorite article Readers' Choice Award.
AXIOM Business Books Awards, bronze medal.
HOME Back to MetaStock Formulas Overview
Heikin ashi, Japanese for “average bar”, is a technique using a special kind of candle stick bars for better visualizing price trends. This technique has been introduced by Dan Valcu in the February 2004 issue of Stocks & Commodities magazine.
The original calculation of the heikin ashi candle stick is as follows:
xClose = (Open+High+Low+Close)/4; or the average price of the current bar
xOpen = [xOpen(Previous Bar) + Close(Previous Bar)]/2; or the midpoint of the previous bar
xHigh = Max(High, xOpen, xClose); the highest value in the set
xLow = Min(Low, xOpen, xClose); the lowest value in the set
However, since the xClose component is always less than or equal to the High component, it is redundant within the MAX function of xHigh and a modified xHigh can be defined as:
modified xHigh = Max(High, xOpen);
The same reasoning is valid for the xLow function:
modified xLow = Min(Low, xOpen);
Next I calculate the average heikin ashi closing price as the result of:
(xClose+xOpen+xHigh+xLow)/4
You can use the following MetaStock® formula to calculate
the heikin ashi closing price (SVE_haC):
haOpen:=(Ref((O+H+L+C)/4,-1) + PREV)/2;
haClose:=((O+H+L+C)/4+haOpen+Max(H,haOpen)+Min(L,haOpen))/4;
haClose
The heikin ashi average colsing prices compared to the real closing prices.
HOME Back to MetaStock Formulas Overview