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

Re: ELA Question - BarNumber



PureBytes Links

Trading Reference Links

It's unlikely that you will need this, but you may want to note:

(1)  TS does not calculate anything on the first bar on a chart, not even
BarNumber.  BarNumber is not 0, it just has no value.  The second bar has
BarNumber=1

(2)  First bar OHLC etc can be accessed on the second bar (BarNumber=1 ) as
O[1], H[1] etc.

JH


----- Original Message -----
From: James Hunter <jhunter2k@xxxxxxxxxxx>
To: <Omega-List@xxxxxxxxxx>
Sent: Thursday, November 30, 2000 11:26 AM
Subject: ELA Question - BarNumber


> I am confused.  I need to use BarNumber to refer precisely to the *first*
> few bars of a chart and I use a fixed MaxBarsBack (MBB)..
>
> The ELA manual states that
>
> **   BarNumber gets the value 1 on the first bar after the first MBB bars.
> **
>
> This does not seem to be right.  Just by inspection of a chart, it seems
> that
>
> **    BarNumber is zero on the very first bar on the chart (never mind
MBB)
> **
>
> If you have come across this, could you clear this up for me?
>
> Thanks
>
> JH
>
>
>
>
>
>
>
>
>