PureBytes Links
Trading Reference Links
|
----------
> From: A.J. Carisse <carisse@xxxxxxxxxxx>
> To: Omega List <omega-list@xxxxxxxxxx>
> Subject: Re: Multiple Data
> Date: Monday, February 16, 1998 3:27 PM
>
> Thanks to all who have offered help with this. I'm having no problem
> with adding additional intraday data, however, when I add daily data, I
> am not able to get any signals from any system. For instance, say Data1
> is TLAB 5 min. I add to Data2 NDX 2 min., and everything's O.K. I then
> add TLAB daily to Data 3, and goodbye signals. It doesn't matter if I
> set Data1 and Data2 to the same time period. This also wipes out my
> indicators on the chart as well - it seems to me that they are trying to
> base themselves on the daily data (only 4 bars, and therefore not enough
> data), although the indicators state they are set on Data1. Anyone know
> what's going on here? I wouldn't need the daily data if I could only
> reference the opening bar from each day on the intraday (Data1) - I'm
> not sure how this would be written, though.
>
> Thanks,
> A.J.
One solution is as follows:
variables: firstbar(0);
If datetojulian(date) > datetojulian(date[1]) then firstbar = currentbar;
{sets firstbar value to the first bar of the day}
|