Mike,

do you know how to convert from DAYSINCE1990 to DATE?


Sawios


--- In [email protected], "Mike" <sfclimb...@...> wrote:
>
> Sorry, I just assumed that you meant 77 days from the current bar, which was 
> a bar in the past. No, I don't know of a way to get bars in the future that 
> don't exist yet.
> 
> Mike
> 
> --- In [email protected], "Kusnady" <sawios@> wrote:
> >
> > Thanks Mike,
> > 
> > 77 trading days ahead from Today...means around next three month excluding 
> > Friday, Saturday and Sunday....
> > 
> > "Ref(DateTime(),77)"...could be used for existing array, but the array from 
> > today till 77days ahead is still blank.....do you think so?
> > 
> > you can prove this by this instruction :
> > 
> > // afl start
> > a=DateTime();
> > Title = "Date:"+DateTimeToStr(a[BarCount-1]+77);
> > // afl stop
> > 
> > ................
> > 
> > What I am looking for is almost the same as 
> > "TIME DIFFERENCE IN 2 DATES".....
> > 
> > But I Need "What is the date for 77 trading days from today?"
> > 
> > Do you have any idea?
> > 
> > Regards
> > sawios
> > 
> > 
> > 
> > 
> > --- In [email protected], "Mike" <sfclimbers@> wrote:
> > >
> > > Do you want 77 bars from now, or calendar days from now? If bars, just 
> > > use Ref with a positive value.
> > > 
> > > e.g. something like (untested)
> > > 
> > > Ref(DateTime(), 77);
> > > http://www.amibroker.com/guide/afl/afl_view.php?id=122
> > > http://www.amibroker.com/guide/afl/afl_view.php?id=196
> > > 
> > > If you want calendar days, you will have to figure something out using 
> > > DaysSince1900.
> > > http://www.amibroker.com/guide/afl/afl_view.php?id=357
> > > 
> > > Mike
> > > 
> > > --- In [email protected], "Kusnady" <sawios@> wrote:
> > > >
> > > > Dear Friends,
> > > > 
> > > > Could you help me to calculate what is the date of 77 days from today?
> > > > 
> > > > Thanks & Regards
> > > > Sawios
> > > >
> > >
> >
>


Reply via email to