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

Re: number of bars in chart question



PureBytes Links

Trading Reference Links

>i was hoping that omega has some reserved word that i don't know about like
>TotalNumberOfBars
The BarNumber Function gives this but as discussed late last year the
BarNumber is not 1 until the second bar.
Neville

-----Original Message-----
From: john hamon <jhamon@pacbell.net>
To: Omega_List <omega-list@eskimo.com>; Mark Brown <markbrown@markbrown.com>
Date: Tuesday, January 02, 2001 1:47 PM
Subject: RE: number of bars in chart question


>thanks for the code, mark.  but there has to be a simpler way to do this.
i
>want to be able to put the indicator on any chart in any time frame and
have
>it figure out how many total bars there are in the current chart.  the code
>you volunteered requires "setting" the time base.
>
>(wishful thinking) that i could use to set up a counter so
>i can do my thing.  am i dreaming?
>
>jh
>
>-----Original Message-----
>From: Mark Brown [mailto:markbrown@markbrown.com]
>Sent: Tuesday, January 02, 2001 12:47 PM
>To: john hamon
>Cc: Omega_List
>Subject: Re: number of bars in chart question
>
>
>Hello  john,
>
>so does anyone know what that code does? well it was originally to put
>on  a  tick  bar  chart (see input chart(5)) specifically a 5 tick bar
>chart.   if  you  use it on a 10 tick bar chart then you put 10 as the
>chart(10) input.
>
>then what it does is keep a running count of he number of ticks per
>day on an intraday basis. so you can see if you have so many ticks in
>a day by a certain time - you may have a day that the commercials are
>present ect.
>
>the time input is for how often the thing prints the values and alerts
>you.
>
>mark
>
>
>