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

Re: [amibroker] Re: Timeframe... inDaily question



PureBytes Links

Trading Reference Links

Hi,

Hmm... I am not sure to understand this code... 

But is it theoretically possible to use the inDaily in "real-time", that is if I am looking let's say for a daily value of RSI it would be the RSI not of the close yesterday but the actual RSI at 11:30 AM?

Louis

2008/6/19 sumangalam <sumangalam@xxxxxxxx>:

Hello,

Please see if mixing the two help you :

iif(barindex() = lastvalue(barindex()),TimeFrameExpand
(HHV_VAL,inDaily,expandfirst),TimeFrameExpand
(HHV_VAL,inDaily,expandLast));

Regards

Sanjiv Bansal



--- In amibroker@xxxxxxxxxxxxxxx, "Louis Préfontaine"
<rockprog80@xxx> wrote:
>
> Hi,
>
> Let's say it is 11:30 AM; I'd like to be able to scan in the
inDaily mode
> looking for HHV of the daily value considering that the value at
11:30 would
> be a daily close, instead of been the last day...
>
> Louis
>
> 2008/6/19 sidhartha70 <sidhartha70@xxx>:

>
> > Wouldn't that effectively be forward looking...? Or are you
assuming
> > today's trading day has finished and the official close is now
part of
> > history...?
> >
> > If so, then I assume it would be very easy...
> >
> > --- In amibroker@xxxxxxxxxxxxxxx <amibroker%
40yahoogroups.com>, "Louis

> > Préfontaine" <rockprog80@>
> > wrote:
> >
> > >
> > > Hi,
> > >
> > > I've been having a lot of fun toying with the timeframe feature.
> > However, I
> > > wonder about this: when I set a variable in a daily timeframe
(I am
> > using
> > > intraday for the rest of the formula), it's always in reference
to
> > the last
> > > complete daily bar of yesterday. Would it be possible to set
that
> > variable
> > > in reference to the time (NOW) in the present day?
> > >
> > > E.g. If I am looking for a HHV, it will take last day as a
reference.
> > > Would it be possible to be alerted if the HHV in daily bar is
broken...
> > > today, and not yesterday?
> > >
> > > Thanks,
> > >
> > > Louis
> > >
> >
> >
> >
>


__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___