how about put it in the title, like this

numBars = BarsSince(DateNum()!=Ref(DateNum(),-1))+1;
Title = Title+"  bar #"+numBars;


--- In [email protected], "spaceant888" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> Well, I am really a new starter with AmiBrokera and am sorry to be 
> naive.
> 
> How can I modified from the syntax to plot a line to show the 
> intraday bar counter for every trading days loaded?
> 
> For example, as of 27 Mar today, the code will show the intraday 
> bars # for today as the realtime data updates starting from 1 as 
the 
> very first bar as the market opens; similarly the indicator also 
> show the intraday bar # for yesterday with 1 as the first bar of 
> yerterday's opening bar.
> 
> Thanks!
> 
> Sa
> 
> 
> 
> 
> 
> 
> --- In [email protected], Graham <kavemanperth@> wrote:
> >
> > try this
> > numBars = barssince(datenum()!=ref(datenum(),-1))+1;
> > 
> > 
> > -- 
> > Cheers
> > Graham Kav
> > AFL Writing Service
> > http://www.aflwriting.com
> > 
> > 
> > On 26/03/2008, spaceant888 <spaceant888@> wrote:
> > > Can anyone help me to develop a code to count the number of 
bars 
> for
> > >  every new trading days?
> > >
> > >  Thanks,
> > >
> > >  Sa
> >
>


Reply via email to