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

Re: [amibroker] Re: editing default.format



PureBytes Links

Trading Reference Links

I suspect this can be done but darned if I can figure out how. ( I 
know there's info in the manual but usually a mystery to me )

I have the following Heikin Ashi candles that plot nicely but I'd 
like to add a couple of EMA's based on standard closing values; 
namely 5 and 8 day EMA plots. 

Here's what I'm using now:  Thanks & Regards,

Dean H.

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 ) );
PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, "Modified " + Name(),   
colorBlack, styleCandle );

Title= EncodeColor(colorBlack)+ "  HaOpen " + WriteVal(HaOpen/1,1.2) 
+ "    HaHigh " + WriteVal(HaHigh/1,1.2) + "    HaLow " + WriteVal
(HaLow/1,1.2) + "    HaClose " + WriteVal(HaClose/1,1.2) + "       
Date/Time " + WriteVal( DateTime(),formatDateTime) + "    Volume  " + 
WriteVal(Volume,1.0); 







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/