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

Re[2]: Reference bar with data1 and data2


  • Date: Mon, 14 Dec 2009 10:51:16 -0700
  • From: nevi <nevi@xxxxxxx>
  • Subject: Re[2]: Reference bar with data1 and data2

PureBytes Links

Trading Reference Links

Works great
thanks Bob
nevi


BF> Try:
BF>   if Time data1 = Time data2 then...
BF> Bob Fulks

BF> 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