PureBytes Links
Trading Reference Links
|
_____
From: Dean Hodgins [mailto:deanhodgins@xxxxxxxxx]
Sent: Sunday, August 15, 2004 10:50 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Adding EMA's to Custom Hekin Ashi Chart
Thanks Gernot - Looks sweeeeeeeeet ....
You guys are amazing.
Best
Dean H
--- In amibroker@xxxxxxxxxxxxxxx, "TaoTrader" <taotrader@xxxx> wrote:
> Try this:
>
> Pd1=Param("EMA 1 Period",5,2,200,1);
> Pd2=Param("EMA 2 Period",8,2,200,1);
>
> Plot(EMA(C,pd1), "EMA 1",ParamColor( "Color EMA", colorYellow ),
styleThick);
> Plot(EMA(C,pd2), "EMA 2",ParamColor( "Color WMA", colorBlue ),
styleThick);
>
> 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);
>
> Regards,
> Gernot
>
> ----- Original Message -----
> From: Dean Hodgins
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Saturday, August 14, 2004 4:55 PM
> Subject: [amibroker] Adding EMA's to Custom Hekin Ashi Chart
>
>
> 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);
>
>
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
> --------------------------------------------------------------------
----------
> Yahoo! Groups Links
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> b.. To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
>
> [Non-text portions of this message have been removed]
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=12983lut5/M=298184.5285298.6392945.3001176/D=gr
oups/S=1705632198:HM/EXP=1092711038/A=2164330/R=0/SIG=11eamf8g4/*http://www.
netflix.com/Default?mqso=60183350> click here
<http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=groups/S=
:HM/A=2164330/rand=319232530>
_____
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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
------------------------ 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/
|