PureBytes Links
Trading Reference Links
|
Value = ( EMA(C,12) - EMA(C,26) ) / EMA(C,26) * 100;
Trigger = EMA(Value,9);
I will assume here that the Trend part means when it crosses zero? But you
are right MS coding is danged confusing. Why can't they just say what it
means rather than taking so much processor time for something simple.
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: bruiserbbq [mailto:bruiserbbq@xxxxxxxxxxxx]
Sent: Sunday, April 04, 2004 3:23 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help with my modified MACD indicator
Hi all, I have a modified MACD indicator for Metastock and I can't
work out the AFL equivilant.
ST:=Input("Short Term M.A.",3,55,12);
LT:=Input("Long Term M.A.",12,125,26);
Trigger:=Input("Trigger Line",1,21,9);
Trend:=Input("Trending Activity",-10,10,0);
Value:=((Mov(CLOSE,ST,E)-Mov(CLOSE,LT,E))/Mov(CLOSE,LT,E))*100;
Value;
Mov(Value,Trigger,E);
Trend;
0;
Hope this makes sense.
Cheers Bruiserbbq
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
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/
|