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

Re: Reference bar with data1 and data2


  • Date: Mon, 14 Dec 2009 12:46:28 -0500
  • From: Bob Fulks <omegalist@xxxxxxxxxxxx>
  • Subject: Re: Reference bar with data1 and data2

PureBytes Links

Trading Reference Links

Try:

  if Time data1 = Time data2 then...

Bob Fulks

At 11:44 AM 12/14/2009, nevi wrote:
>Hello o-list,
>With data1 1 minute and data2 60 minutes of the same symbol,
>How can I reference the data1 bar when the data2 bar is below it.
>
>I tried, if close = (close of data2) which is always true when the bars align,
>however it is sometimes true on other bars when the close is the same value.
>I'm trying to reference the data1 bar only when aligned with the data2 bar.
>thanks
>nevi