[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Heiken Ashi indicator



PureBytes Links

Trading Reference Links

Jack, I'll ship this to you but from here on out you must promise to look in the program library. (:> 
 
HTH
Joe L.
 
////////////////////////////////////
//
// Heikin_Ashi For Amibroker
//
////////////////////////////////////
 
SetChartBkColor(ParamColor("Outer panel color ",colorLightGrey)); // color of outer border
 
SetChartBkGradientFill( ParamColor("Inner panel color upper half", colorGrey40),ParamColor("Inner panel color lower half", 
 
colorGrey40)); // color of inner panel
 
HaClose =EMA((O+H+L+C)/4,3);
 
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
 
HaHigh = Max( H, Max( HaClose, HaOpen ) );
 
HaLow = Min( L, Min( HaClose, HaOpen ) );
 
PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, "Modified " + Name(), colorBlack, styleCandle | styleNoLabel );
 
Title = "\n" + "" + Name() + ", " + Interval(2) + ", " + Date() + "\n";
 
 
 
Also in the program library.
 
 
 
 
----- Original Message -----
From: jack
Sent: Sunday, July 15, 2007 7:04 PM
Subject: [amibroker] Heiken Ashi indicator

hi,
anyone has heiken ashi indicator? I found an article talking about its fomula as below:
 
The heikin-ashi candlestick technique uses modified open-high-low-close (OHLC) values and displays them as candlesticks. The modified values are computed using these definitions:

• haClose = (O+H+L+C)/4

• haOpen = (haOpen (previous bar) + haClose (previous bar))/2

• haHigh = Maximum(H, haOpen, haClose)

• haLow = Minimum(L, haOpen, haClose)

is this the one everyone uses? if anyone has a working heiken ashi indicator AFL file, please help uploading it or email to me.
 
thanks a lot
 
jack
 


Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___