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

[amibroker] Re: 25 Least Square MA



PureBytes Links

Trading Reference Links









Hi Pete,

 

I believe the under-mentioned code is what
Dr Elder used originally in his earlier book:

 

<font size=1 color=green
face="Courier New">// Dr Alex Elder's Force Index (short-term is 2 periods and for
mid-term Dr Elder uses 13 periods)

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New">Force2 = <span
lang=EN-NZ >EMA<font
size=1 color=black face="Courier New">(((C-<font
size=1 color=blue face="Courier New">Ref<font size=1
color=black face="Courier New">(C,-<font
size=1 color=fuchsia face="Courier New">1<font size=1
color=black face="Courier New">))*V),<font
size=1 color=fuchsia face="Courier New">2<font size=1
color=black face="Courier New">);

<font size=1 color=blue
face="Courier New">Plot<span
lang=EN-NZ >(force2,<font
size=1 color=fuchsia face="Courier New">"Force Index (2 Period)"<font
size=1 color=black face="Courier New">,colorRed,<font
size=1 color=fuchsia face="Courier New">2<font size=1
color=black face="Courier New">);

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New">Force13 = <span
lang=EN-NZ >EMA<font
size=1 color=black face="Courier New">(((C-<font
size=1 color=blue face="Courier New">Ref<font size=1
color=black face="Courier New">(C,-<font
size=1 color=fuchsia face="Courier New">1<font size=1
color=black face="Courier New">))*V),<font
size=1 color=fuchsia face="Courier New">13<font size=1
color=black face="Courier New">);

<font size=1 color=blue
face="Courier New">Plot<span
lang=EN-NZ >(force13,<font
size=1 color=fuchsia face="Courier New">"Force Index (13 Period)"<font
size=1 color=black face="Courier New">,colorBlue,<font
size=1 color=fuchsia face="Courier New">2<font size=1
color=black face="Courier New">);

<font size=1 color=black
face="Courier New"> 

<span
lang=EN-NZ >GraphXSpace<font size=1 color=black
face="Courier New"> = <span
lang=EN-NZ >6<font
size=1 color=black face="Courier New">;

 



<span
>Regards,

<span
>
Gordon Sutherland



 

<span
>-----Original Message-----
From: pete_wragg
[mailto:wraggp@xxxxxxxxxxx] 
Sent: Sunday, 4 July 2004 5:26
p.m.
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Elder's Force
Index in Ami - anybody have the AFL or point me?

<font size=3
face="Times New Roman"> 

<font size=2
face="Courier New">I've hunted through the AFL
library in here, but can't find the formula for Elder's Force Index.  I'm
sure this must have been covered before, but I can't find it for the life of
me!

Could some kind sould point me in the right
direction, or post the code?

I've checked both the forum library and the
AmiBroker website AFL library, but I'm stuffed if I can find it anywhere.

Any help much appreciated - thanks in advance :)

Pete, Brisbane, Australia.




Check
AmiBroker web page at:<span
>
http://www.amibroker.com/

Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html










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
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.