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

[amibroker] Money Flow Index



PureBytes Links

Trading Reference Links









<span lang=EN-AU
>I have tried to re-create the money flow index as
described in the help files to use with alternative inputs, but am getting
results not matching the internal MFI. I cannot see what I am doing wrong, can
someone help me. I get results all values between 99 and 100

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

<font size=2 color=black
face="Courier New">PerMFI = <font size=2 color=fuchsia
face="Courier New">14<span
lang=EN-AU >;                
<span lang=EN-AU
>//Periods

<font size=2 color=black
face="Courier New">MF = (<span
lang=EN-AU >H<font
size=2 color=black face="Courier New">+<font size=2 color=red
face="Courier New">L<span
lang=EN-AU >+<font
size=2 color=red face="Courier New">C<font size=2 color=black
face="Courier New">)/<span
lang=EN-AU >3<font
size=2 color=black face="Courier New">*<font size=2 color=red
face="Courier New">V<span
lang=EN-AU >;           
<span lang=EN-AU
>//Money flow

<font size=2 color=black
face="Courier New">MRP = <span
lang=EN-AU >IIf<font
size=2 color=black face="Courier New">(<font size=2 color=red
face="Courier New">C<span
lang=EN-AU >><font
size=2 color=blue face="Courier New">Ref<font size=2
color=black face="Courier New">(<font size=2 color=red
face="Courier New">C<span
lang=EN-AU >,-<font
size=2 color=fuchsia face="Courier New">1<font size=2
color=black face="Courier New">),MF,<font size=2
color=fuchsia face="Courier New">0<font size=2
color=black face="Courier New">); <font size=2
color=green face="Courier New">//positive MF

<font size=2 color=black
face="Courier New">MRPS = <span
lang=EN-AU >Sum<font
size=2 color=black face="Courier New">(MRP,PerMFI);      <font
size=2 color=green face="Courier New">//sum positive MF

<font size=2 color=black
face="Courier New">MRN = <span
lang=EN-AU >IIf<font
size=2 color=black face="Courier New">(<font size=2 color=red
face="Courier New">C<span
lang=EN-AU ><<font
size=2 color=blue face="Courier New">Ref<font size=2
color=black face="Courier New">(<font size=2 color=red
face="Courier New">C<span
lang=EN-AU >,-<font
size=2 color=fuchsia face="Courier New">1<font size=2
color=black face="Courier New">),MF,<font size=2
color=fuchsia face="Courier New">0<font size=2
color=black face="Courier New">); <font size=2
color=green face="Courier New">//negative MF

<font size=2 color=black
face="Courier New">MRNS = <span
lang=EN-AU >Sum<font
size=2 color=black face="Courier New">(MRN,PerMFI);      <font
size=2 color=green face="Courier New">//sum negative MF

<font size=2 color=black
face="Courier New">MR = MRPS/MRNS;              <font size=2
color=green face="Courier New">//Money Ratio

<font size=2 color=black
face="Courier New">myMFI = <span
lang=EN-AU >100<font
size=2 color=black face="Courier New"> - <font size=2
color=fuchsia face="Courier New">100<font size=2
color=black face="Courier New">/(<font size=2
color=fuchsia face="Courier New">100<font size=2
color=black face="Courier New">+MR);  <font size=2
color=green face="Courier New">//Money Flow Index

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

<font size=2 color=blue
face="Courier New">Plot<span
lang=EN-AU >(MyMFI,<font
size=2 color=darkred face="Courier New">"myMFI"<font
size=2 color=black face="Courier New">,<font size=2 color=red
face="Courier New">colorGreen<span
lang=EN-AU >,<font
size=2 color=red face="Courier New">styleLine<font size=2
color=black face="Courier New">);

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

<span
lang=EN-AU >Plot<font
size=2 color=black face="Courier New">(<font size=2 color=blue
face="Courier New">MFI<span
lang=EN-AU >(PerMFI),<font
size=2 color=darkred face="Courier New">"MFI()"<font
size=2 color=black face="Courier New">,<font size=2 color=red
face="Courier New">colorRed<span
lang=EN-AU >,<font
size=2 color=red face="Courier New">styleLine<font size=2
color=black face="Courier New">);

 

<font size=3 color=teal
face="Times New Roman">Cheers,
Graham

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia

<span lang=EN-AU
> 










Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.