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

[amibroker] param function



PureBytes Links

Trading Reference Links

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


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