PureBytes Links
Trading Reference Links
|
<SPAN
class=395133204-20082003>interesting, I am not sure why that occurs. As a work
around try perhaps this variation....
<SPAN
class=395133204-20082003>
<FONT
color=#008000 size=2>
// aa_MFI_Params<FONT color=#282828
size=2>
Pd = Param("MFI
Period 1=10 day 2=14 day<FONT
size=2>", 1<FONT
face=Arial size=2>,1<FONT face=Arial
size=2>,2<FONT face=Arial
size=2>,1<FONT color=#282828
size=2>);<FONT color=#0000ff
size=2>
Plot(<FONT color=#0000ff
size=2>MFI(<FONT color=#0000ff
face=Arial size=2>IIf<FONT color=#282828 face=Arial
size=2>(pd==1<FONT
color=#282828 face=Arial size=2>,<FONT color=#ff00ff face=Arial
size=2>10,<FONT
color=#ff00ff face=Arial size=2>14<FONT color=#282828
size=2>))<FONT color=#282828
size=2>, "MFI"<FONT color=#282828
size=2>, 50,
1<FONT color=#282828
size=2>);
Title= Name()+
" - MFI ("+<FONT face=Arial
size=2>WriteIf(pd==<FONT face=Arial
size=2>1,<FONT face=Arial
size=2>"10",<FONT face=Arial
size=2>"14")+<FONT
size=2>")";
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: sloughbridge
[mailto:sloughbridge@xxxxxxxxx]Sent: Tuesday, August 19, 2003 7:43
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Interesting "PARAM" resultHi all,In setting up
an adjustable-period MFI, I discovered that, in this example, PARAM sets the
slider up correctly (10 and 14), but when the slider is used it generates
values of 8 & 12. I wanted a 1-click change between 10 and 14-day
periods, but it works fine with steps set to 2. I hope it's not just
my machine :/// aa_MFI_ParamsPd = Param("MFI Period", 14, 10, 14,
4);Plot(MFI(Pd), "MFI", 50, 1);Title= Name()+ " - MFI
("+Pd+")"; Send
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
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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.
|