Perhaps like this:

Startbar=Status("firstvisiblebarindex");

Firstdatebar=lastvalue(valuewhen(Month()== 1 AND Day()== 2 AND Year()
== 2006),Barindex()));

PlotShapes( IIF( Startbar==Firstdatebar, shapeDownArrow +
shapePositionAbove, shapeNone ), colorGreen );

PS?
--- In [email protected], "Rick" <[EMAIL PROTECTED]> wrote:
>
> Joe, thank you - but I am a complete novice. How would I tie it in
> with the following?
>
> FirstDate = Month()== 1 AND Day()== 2 AND Year()== 2006; 
>
> --- In [email protected], "Joe Landry" <jelandry@> wrote:
> >
> > Try this 
> >
> > line = Status("barvisible");
> >
> > Joe
> >
> >
> >
> >   ----- Original Message -----
> >   From: Rick
> >   To: [email protected]
> >   Sent: Thursday, April 20, 2006 6:41 AM
> >   Subject: [amibroker] control date of first visible bar
> >
> >
> >   Can anyone show me how to control the date of the first visible
> bar in
> >   a plot? I can't find a function that lets you specify this.
> >
> >   thanks in advance for any help,
> >   Rick
> >
> >
> >
> >
> >
> >
> >   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
> >
> >     a..  Visit your group "amibroker" on the web.
> >      
> >     b..  To unsubscribe from this group, send an email to:
> >      [EMAIL PROTECTED]
> >      
> >     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms
> of Service.
> >
> >
> > ------------------------------------------------------------------
--
> ----------
> >
>






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




Reply via email to