PureBytes Links
Trading Reference Links
|
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.
i was hoping that omega has some reserved word that i don't know about like
TotalNumberOfBars (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
|