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

Re: [amibroker] Please Help



PureBytes Links

Trading Reference Links

Your IIF() is wrong.  Should be iif(x, truepart, iif(y, truepart, falsepart)).  The second iif() is the falsepart of the first iif().
 
Bill
 
----- Original Message -----
From: Mohammed
Sent: Friday, September 14, 2007 12:03 PM
Subject: [amibroker] Please Help

Hi,

Any one can help with this formula,

_SECTION_BEGIN("Close");

Plot( Close, "", IIf( LongSetup, UpColor, DownColor, IIf( TBuy,
EntryColor, DownColor ) , styleBar | ParamStyle ("Style")));

_SECTION_END();

I got Too many arguments error.

Thanks an advance

Regards

__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___