Make it easier on yourself -- do it this way! ColorTouse = IIf( TBuy, EntryColor, DownColor );
Plot(Close, "", ColorToUse, styleBar ); ----- Original Message ----- From: "Mohammed" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, September 14, 2007 12:52 PM Subject: [amibroker] Re: Please Help > Hi cstrader; > > Thank you very much, But this plot Price in line style, I need it to > be in bar style. > > Regards > > > --- In [email protected], "cstrader" <[EMAIL PROTECTED]> wrote: >> >> Try this: >> Plot( Close, "", IIf( LongSetup, IIf( TBuy, EntryColor, > DownColor ) , styleBar | ParamStyle ("Style"))); >> >> ----- Original Message ----- >> From: Mohammed >> To: [email protected] >> 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 > > Yahoo! Groups Links > > >
