Try This:

a = IIf(DateNum()==Now(3), 1, Null);

PlotOHLC( Open*a, High*a, Low*a, Close*a, "", colorBlack, styleCandle );



On Sat, Mar 14, 2009 at 5:55 AM, K. Karunakaran <[email protected]> wrote:

>   I have tried "IIF" also, something is wrong, unable to figure out. Not a
> computer expert. Can you write the correct code please.
>
> --- In [email protected] <amibroker%40yahoogroups.com>,
> "wavemechanic" <fim...@...> wrote:
> >
> > I assume that you are getting "Error 6". If so, look up this error in the
> Users Guide as well as if() and iif().
> >
> > Bill
> > ----- Original Message -----
> > From: K. Karunakaran
> > To: [email protected] <amibroker%40yahoogroups.com>
> > Sent: March 13, 2009 10:41 AM
> > Subject: [amibroker] how to plot current days intra day chart alone
> >
> >
> > I have tried the following to plot only current days intra day chart.
> >
> > if(DateNum()==Now(3)) PlotOHLC( Open, High, Low, Close, "", ColIdea,
> styleCandle);
> >
> > Any help please.
> >
> > Warm Regards.
> >
> > K Karunakaran
> >
> >
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT PLEASE READ ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > http://www.amibroker.com/feedback/
> > (submissions sent via other channels won't be considered)
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > Yahoo! Groups Links
> >
>
>  
>

Reply via email to