PureBytes Links
Trading Reference Links
|
In weekly mode, every week is a point, no matter if the trading days
were 3 or 4 or 5.
Any exploration may be executed in weekly mode, if you ask that in
Settings.
The only hint here:When you come back to daily mode, REMEMBER to
change settings again. Amibroker keeps in memory last Settings.
It is good, but ...I lost half an hour yesterday with ultra-strange
results until I remembered that the previous Exploration was in
weekly mode !!
Dimitris Tsokakis
--- In amibroker@xxxx, "Stephane Carrasset" <nenapacwanfr@xxxx> wrote:
> Tz,
>
> and if it possible to generate a "1" for weekly timed frame,
> how can we implemented a ref timedframe function because the number
> of bars in a week could be 3,4,5.
>
> SC
>
>
> In amibroker@xxxx, "Stephane Carrasset" <nenapacwanfr@xxxx> wrote:
> > Tz or all,
> >
> > is there a way to generate "1" for weekly bars ( monday to friday)
> > these timed frame bars must be stable when new data are added
> >
> > SC
> >
> >
> >
> > In amibroker@xxxx, "Stephane Carrasset" <nenapacwanfr@xxxx> wrote:
> > > Tz,
> > >
> > > You wrote
> > > <<
> > > Hi Dimitris, For example if you want to generate a "1" every
8th
> > bar
> > > you can now write impulse8 = ( cum(1) % 8 ) == 0; This is
useful
> > when
> > > you try to simulate different periodicity from daily data:
close8
> =
> > > ValueWhen( impulse8, close ); high8 = HighestSince( impulse8,
> > high );
> > > low8 = LowestSince( impulse8, low ); Best regards, Tomasz
> Janeczko
> > > >>
> > >
> > >
> > > but the 8time frame bars ( or another lenght of time frame) are
> > > calculated from the last data isn't it ?
> > > and change when new data are added
> > > so it can't be use in backtest
> > >
> > > right or wrong ? ?
|