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

Re: [amibroker] Re: param function



PureBytes Links

Trading Reference Links

Thanks Andrew - works a treat and makes life so much easier. :)

But tell me, should it have worked the way I had it set up - it seems so 
simple in the docs and I really couldn't see why it went wrong?

Arthur

 >Arthur
 >Same thing happens to me. Perhaps something like:
 >Select = Param("pd,1=9,2=21",1,1,2,1);
 >Pd = iif(Select==1,9,21);
 >
 >Andrew
 >
 >--- In amibroker@xxxxxxxxxxxxxxx, Arthur Sawilejskij <arthur@xxxx>
 >wrote:
 >> I have a chart with 3 EMA's plotted - a 3 day and then a 9 and 21
 >day that
 >> I use in a simple MA crossover setup.
 >>
 >> I plot buy/signals on the chart based on crossovers and want to
 >use the
 >> param function to be able to simply alternate between the 9 and 21
 >EMA to
 >> see how it affects the plotted buy/sell signals.
 >>
 >> I only want the two steps - 9 and 21 - so I have the line
 >>
 >> pd = Param("pd", 9,9,21,12);
 >>
 >> But when I click on the param window to move from the default 9
 >and expect
 >> it to go to 21 - it instead goes to 12 - and then when I click
 >back - it
 >> goes to zero and the chart display naturally goes al strange.
 >>
 >> I've obviously got something terrible wrong - any ideas?
 >>
 >> Arthur
 >
 >
 >
 >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/


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