Latest News

March 25, 2017: New comments S&P500

BBS Trading Expert is available with the "BAND INDICATORS" DVD! Watch the Youtube BBS video and here is a crude oil trading example

BBS Band Break System trading Sylvain Vervoort


Want to know more about "Capturing Profit with Technical Analysis"?

NinjaTrader formulas.

MetaStock formulas.

MetaTrader formulas.

My YouTube videos.

Twice semi-finalist "Favorite Article" in the S&C 2015 Readers' Choice Award. Thank You!

AXIOM business books awards, bronze medal for my book! Thank You!

Capturing Profit with Technical Analysis

SEARCH Stocata
Book Store

Ttitle, author, item# or ISBN

Favorite articles in 2010, 11, 12, 14 and 2015 S&C Readers' Choice Awards.

readers choice awards

AXIOM Business Books Awards, bronze medal.

AXIOM award


   special offers

  Facebook fan page




MetaStock Formulas

HOME   Back to MetaStock Formulas Overview

Average heikin ashi closing price

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:

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;

Special offer: "Capturing Profit with technical Analysis"

The heikin ashi average colsing prices compared to the real closing prices.

heikin ashi average closing prices




Search the Internet

Very cheap books


HOME   Back to MetaStock Formulas Overview

Copyright © 2007, All rights reserved.