Thanks Conrad and bistoman73 your help , I spent some time also to study in AFL 
reference for solution following your ideas, but it seems without any result.
Thanks your effort again, for sure if I find something new I will share here 
with you...



--- In [email protected], "conrad_faber" <cfa...@...> wrote:
>
> I am getting confused with your spec, but if you only need the last 5 days 
> data on every daily bar, maybe you should just look at the REF or MA 
> functions.
> Good luck.
> 
> --- In [email protected], "bistoman73" <bistoman73@> wrote:
> >
> > Thanks again Conrad,
> > 
> > I appreciate your help but this didn't solved my problem, I try to explain 
> > better:
> > 
> > using 5 * InDaily defines to use a timeframe of 5 days, not necessarily 
> > Monday-Friday , OK, but it still does the calculation every 5 days from the 
> > beginning of the chart till the last day at the left side, OK.
> > 
> > The problem (for me) is that the last left values are "frozen" till a new 
> > 5-multiple day (instead of a new Friday like with InWeekly) when a new 
> > calculation is done.
> > 
> > I would like that the calculation would be done EVERY BAR considering a 5 
> > day period just before it.
> > 
> > i.e:
> > 
> > on Monday: with the data from last tuesday to monday
> > 
> > on Tuesday: with the data from last Wednesday to Tuesday
> > 
> > end so on till
> > 
> > on Friday: with the data from last monday to Friday (as in the weekly chart)
> > 
> > I don't know if MultiTimeFrame functions are the right way to realize it, I 
> > am just investigating
> > 
> > I hope to have been more clear now, nevertheless thank you very much for 
> > your posts
> > 
> > Bisto
> > 
> > 
> > --- In [email protected], "conrad_faber" <cfaber@> wrote:
> > >
> > > inWeekly = every Mon - Fri period
> > > 5*inDaily = latest 5 day period (day of week doesn't matter)
> > > 
> > > Straight from the AB help:
> > > 
> > > Note that 5*inDaily is now DIFFERENT than inWeekly. 5*inDaily creates 
> > > 5-day bars that DO NOT necesarily cover Monday-Friday while inWeekly 
> > > ALWAYS creates bars that begin on Monday and end on Friday. 
> > > 
> > > --- In [email protected], "bistoman73" <bistoman73@> wrote:
> > > >
> > > > thanks Conrad,
> > > > 
> > > > if you mean "Multiple Time Frame support in AFL" inside AB help I 
> > > > already ready it but I wasn't able to find any hint about how "to 
> > > > define" a week. It's from Monday to Friday with no chance to change it.
> > > > 
> > > > ... or maybe I am just not able to understand...
> > > > 
> > > > 
> > > > --- In [email protected], "conrad_faber" <cfaber@> wrote:
> > > > >
> > > > > 5*inDaily vs inWeekly
> > > > > See Multiple Time Frame help
> > > > >   
> > > > > 
> > > > > --- In [email protected], "bistoman73" <bistoman73@> wrote:
> > > > > >
> > > > > > it's more or less what I asked in 
> > > > > > 
> > > > > > http://finance.groups.yahoo.com/group/amibroker/message/141417
> > > > > > 
> > > > > > I put this link here to help you to find the solution in case 
> > > > > > someone will answer in the other thread
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > --- In [email protected], "m.csabee" <m.csabee@> wrote:
> > > > > > >
> > > > > > > Greetings all,
> > > > > > > 
> > > > > > > 
> > > > > > > Most charting softwares that I&#8217;ve seen always show the 
> > > > > > > weekly charts of the end of a week, usually Friday.But who says 
> > > > > > > that a week must end every Friday?Must a weekly chart reflect 
> > > > > > > only the latest five days of trading every Friday?I think a 
> > > > > > > proper weekly chart should be one that is set up to reflect one 
> > > > > > > action that is one magnitude greater than the daily chart.It 
> > > > > > > should display its latest price bar to always reflect where 
> > > > > > > prices are relative to the latest 5 days of trading.It changes 
> > > > > > > every day to reflect the latest 5 days of trading.
> > > > > > > I would use Stochastic %D on my trading system.
> > > > > > > Is it possible somehow to change the last close price every day 
> > > > > > > (get the recent close price in stochastic formula) and 
> > > > > > > recalculate the weekly stochastic value each day?
> > > > > > > And is it possible to appear this weekly Stochastic and daily 
> > > > > > > Stochastic in same window?I would use daily price chart with 
> > > > > > > second window with 2 timeframe indicator below.
> > > > > > > 
> > > > > > > thanks for all help
> > > > > > > Regards
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Reply via email to