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

RE: [amibroker] re:Heikin-ashe charts



PureBytes Links

Trading Reference Links

Tim,

The following was previously posted.

Perry Lentine

_________________________________________

/*
From: jnk1997 [mailto:jnk1997@xxxxxxxxx]
Sent: Sunday, February 01, 2004 2:35 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Aaaah Just wrote my first AFL !

Hello,

OK, this is basic "0 cross" for the Heikin Ashi Indicator.
Can be used as Scan, Exploration, OR Trading.
Needs work to improve profitabilty.
Regards
Jim
*/

HaClose = (O+H+L+C)/4;
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
HaHigh = Max( H, Max( HaClose, HaOpen ) );
HaLow = Min( L, Min( HaClose, HaOpen ) );

HaDiffCO = HaClose - HaOpen;

per = Param("MA Periods", 3, 3, 50, 1 );
Plot( HaDiffCo, "HaDiffCO", colorRed );
Plot( MA( HaDiffCo, per ), "MA("+per+")", colorBlue );

Buy = Cross (HaDiffCo, 0);
Cover = Cross (HaDiffCo, 0);
Sell = Cross (0, HaDiffCo);
Short = Cross (0, HaDiffCo);

Buy=Cover;
Sell=Short;

Filter=Buy OR Sell OR Short OR Cover;
Buy=ExRem(Buy,Sell); Sell=ExRem(Sell,Buy); Short=ExRem(Short,Cover);
Cover=ExRem(Cover,Short);

AddColumn(Buy,"Buy");
AddColumn(Sell,"sell");
AddColumn(Short,"short");
AddColumn(Cover,"cover");

-----Original Message-----
From: raven4ns [mailto:raven4ns@xxxxxxxx]
Sent: Monday, October 11, 2004 9:28 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] re:Heikin-ashe charts




Hello,
 Does anyone have a formula for Heikin-ashe charts? I checked the
library and files on the group but couldn't find any. I would
appreciate any help you care to give. Thank you.

Regards,

Tim






Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/