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

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



PureBytes Links

Trading Reference Links

Anthony & Ralph,

Disregard my earlier comments. If you're filtering on Buy signal then you
can reference nexts day's open by:

Addcolumn(ref(O,1),"Nopen",1.2); // future reference

Ted

----- Original Message -----
From: "Anthony Faragasso" <ajf1111@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, September 27, 2002 9:15 AM
Subject: Re: [amibroker] Re: AFL: Valuewhen on next Open


> Ted ,
>
> I do not believe that the filter is interfering with the results. I
> think buy should equal 1 , so the signal is valid.
>
> Anthony
>
> Ted Chmilar wrote:
>
> > Your filter is interfering with results. Try:
> >
> > Filter = Buy!=1;
> > Addcolumn(Valuewhen(ref(buy,-1),Open),"NOpen",1.2);
> >
> > Ted
> >
> > >
> > ----- Original Message -----
> > From: "allm4m" <allm4m@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Friday, September 27, 2002 7:15 AM
> > Subject: [amibroker] Re: AFL: Valuewhen on next Open
> >
> >
> > > 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.
> > >
> > >
> > >
> > > 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
> > http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> >
> > 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.
>
>
>
>
> 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 http://docs.yahoo.com/info/terms/
>
>