|
I don't think you're using IIF correctly. You
might try something like this:
Length = ParamList("Regression Length", "Long|Mid|Short");ROCFactor = IIf(Length == "Long", 1.5, 0);ROCFactor = IIf(Length == "Mid", 2, ROCfactor);ROCFactor = IIf(Length == "Short", 3, ROCFactor);ERFactor = IIf(Length == "Long", 1.25, 0);ERFactor = IIf(Length == "Mid", 2.5, ERFactor);ERFactor = IIf(Length == "Short", 4, ERFactor);
Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html YAHOO! GROUPS LINKS
|
- Re: [amibroker] Problem w/ nested IIf cstrader232
