PureBytes Links
Trading Reference Links
|
Try this:
x = Param("Op=1 Hi=2 Lo=3 Cl=4 Vol=5",4,1,5,1);
x = IIf(x==1,O,IIf(x==2,H,IIf(x==3,L,IIf(x==4,C,V))));
John
--- In amibroker@xxxxxxxxxxxxxxx, "goldwing01" <goldwing01_1999@xxxx>
wrote:
> x= Param("use", Open=1, High=2, Low=3, Close=4 ,Volume=5,
P=6,1,6,4);
>
> Line 3, Column 69:
> pds =Param("EMA periods",1,2520,21);
>
> VAvgPds=Param("Volume sample periods",2,252,21);
>
> x= Param("use", Open=1, High=2, Low=3, Close=4 ,Volume=5,
P=6,1,6,4);
> --------------------------------------------------------------------
^
>
> Error 11.
> Too many arguments
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|