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

Re: [amibroker] Re: AFL: Valuewhen on next Open


  • To: amibroker@xxxxxxxxxxxxxxx
  • Subject: Re: [amibroker] Re: AFL: Valuewhen on next Open
  • From: Anthony Faragasso <ajf1111@xxxx>
  • Date: 27 Sep 2002 16:19:36 -0000
  • In-reply-to: <an1p65+fq1t@xxxx>

PureBytes Links

Trading Reference Links

Ralph,

That is what I had posted:

Try this:

Filter = Buy;
Addcolumn(Valuewhen(ref(Buy,-1), Open),"");
will give you the open of the day following the Buy signal.

Anthony

> Anthony,
>
> What I am trying to get is a column in an Exploration that will give
> me the Open of the day immediately AFTER a buy signal was given.
>
> So just as:
> Filter = Buy;
> Addcolumn(Valuewhen(Buy, C),"");
> will give me the close of the Buy signal,
> I am trying to get the same thing done for the next morning opening
> price.
>
> I hope I made it clear this way.
>
> Regards and thanks,
>
> Ralph
>
> --- In amibroker@xxxx, Anthony Faragasso <ajf1111@xxxx> wrote:
> > Ralph,
> >
> > I do not understand what you seek, This should give you the open
> price
> > of the most recent Buy signal , Please explain what it is that you
> are
> > trying to achieve.
> >
> > Thank you
> > Anthony
> >
> > allm4m wrote:
> >
> > > Hi Anthony,
> > >
> > > That gives me the Open of the day after the *previous* buy signal.
>
> > > So, I'm getting closer, but it's not what I want yet.
> > >
> > > Thanks,
> > >
> > > Ralph
> > >
> > > --- In amibroker@xxxx, Anthony Faragasso <ajf1111@xxxx> wrote:
> > > > Hello,
> > > >
> > > > Valuewhen(ref(buy,-1),Open);
> > > >
> > > > Anthony
> > > >
> > > > allm4m wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > In an Exploration, how do I get the value of the Open on the
> day
> > > > > after a Buy signal was given?
> > > > >
> > > > > If I do:
> > > > > ValueWhen(Ref(Short, 1), O);
> > > > > I get the previous Open not the next
> > > > >
> > > > > If I do:
> > > > > Ref(ValueWhen(Short, O), 1);
> > > > > I get the Open of the day of buy signal
> > > > >
> > > > > Adding the third parameter obviously does not help either, It
> will
> > >
> > > > > simply get me to another short occasion.
> > > > >
> > > > > How do I get the next day's open?
> > > > >
> > > > > Ralph
> > > > >
> > > > >
> > > > > Yahoo! Groups Sponsor
> > > > ADVERTISEMENT
> > > >
> > > >
> > > > >
> > > > > Post AmiQuote-related messages ONLY to: amiquote@xxxx
> > > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > >
> > > > > Check group FAQ at:
> > > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > > >
> > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > Service.
> > >
> > >
> > > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> >
> >
> > >
> > > Post AmiQuote-related messages ONLY to: amiquote@xxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > >
> > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> Yahoo! Groups Sponsor
ADVERTISEMENT


>
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.