PureBytes Links
Trading Reference Links
|
Hi Traderix,
This might help:
<clip>
WhichEMA = Param("EMA", 1, 1, 2, 1);
range = Param("EMA period", 14, 10, 30, 2);
if (WhichEMA == 1)
{
MyArray = High;
MyColor = colorRed;
}
if (WhichEMA == 2)
{
MyArray = Low;
MyColor = colorBlue;
}
Plot(EMA(MyArray,range),"",MyColor,styleLine);
Title="EMA("+WriteIf(MyArray==High,"High","Low")+","+NumToStr(range,1)+")";
<clip>
-john
----- Original Message -----
From: "traderix2003" <d.adam@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 22, 2004 1:42 AM
Subject: [amibroker] EMA´s of Highs & Lows
How can I get the EMA of highs, and another AFL formula for the EMA
of lows??
So that I apply one of them on my price chart.
Thxs for help. Traderix
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/
|