September 4: NEW SATS5 Expert system.
The S&P500 and FOREX EUR/USD Update. Now using the SATS5 expert to trade the S&P500.
Latest YouTube video fast average crossings part2.
My book "Capturing Profit with Technical Analysis"
best offer!
(DUTCH) Nederlandstalige versie hier.
Save on over 150 items on sale, with FREE Shipping!
WINNER "Favorite Article" in the Readers' Choice Award 2010. Thank You!
AXIOM business books awards, bronze medal for my book! Thank You!
Part 2 of "Smoothing The Bollinger %b Indicator" in the June issue of S&C. Coming in October "An RSI Inverse Fisher Transform".
Visit the TradersLibray blog.
Sylvain Vervoort
WINNER 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