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

[spam] Re: [amibroker] Yuk (was: Code Question)



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Parashanth,
You 
will find AFL and Ms to be very similar. 
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>EMA(c,20) is equivalent to mov(c,periods,e)
<FONT face=Arial color=#0000ff 
size=2> 
have a 
look at the help files for descriptions of MA, EMA etc. Give it a try, you will 
be coding in no time...
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Prashanth 
[mailto:prash454@xxxxxxxx]Sent: Wednesday, February 04, 2004 3:01 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Better 
Moving Averages and OscillatorsHi,Has anyone 
coded the metastock formula into afl for "Better Moving Averages and 
Oscillators" by CedarCreekTrading in his post.Metastock code given in 
the document;Thus the Metastock 6.5 code for T3 
is:periods:=Input("Periods? ",1,63,5);a:=Input("Hot? 
",0,2,.7);e1:=Mov(P,periods,E);e2:=Mov(e1,periods,E);e3:=Mov(e2,periods,E);e4:=Mov(e3,periods,E);e5:=Mov(e4,periods,E);e6:=Mov(e5,periods,E);c1:=-a*a*a;c2:=3*a*a+3*a*a*a;c3:=-6*a*a-3*a-3*a*a*a;c4:=1+3*a+a*a*a+3*a*a;c1*e6+c2*e5+c3*e4+c4*e3;Thanks 
in advancePrashanthSend BUG REPORTS to 
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 


Yahoo! Groups Links
  To visit your group on the web, go to:<A 
  href="">http://groups.yahoo.com/group/amibroker/  

  To unsubscribe from this group, send an email to:<A 
  href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 



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 the Yahoo! Terms of Service.