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

[amibroker] Interesting "PARAM" result



PureBytes Links

Trading Reference Links

Hi 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_Params
Pd = Param("MFI Period", 14, 10, 14, 4);
Plot(MFI(Pd), "MFI", 50, 1);
Title= Name()+  " -  MFI ("+Pd+")"; 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/