PureBytes Links
Trading Reference Links
|
Thanks Ed!!
I can see that this is going to take me awhile to learn AFL. Damn, I thought I am an engineer
with programming experience, so would not have difficulty getting use to AFL. That does not seem
to be the case...
Ok, back to reading the User Guide and more examples...
thanks again Ed,
tomas
--- emp62 <emp62@xxxxxxx> wrote:
> you can code that like:
>
> condition = BarsSince( C > Ref(C,-1)) == 3 AND MA(V,3) < MA(V,50);
>
> Buy = Ref(condition,-1); BuyPrice = O;
>
> SetChartOptions(0, chartShowDates);
> Plot(C,"C",1,64);
> PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0, yposition = BuyPrice, offset = 0 );
>
>
> rgds, Ed
>
>
> ----- Original Message -----
> From: "Tomas" <tomas986@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, April 03, 2006 1:43 AM
> Subject: [amibroker] Simple Question : How do I specify the previous day's price
>
>
> > Hi,
> >
> > I just registered Amibroker a week ago, and in the process of testing out some of the
> features.
> >
> > I spent the last few hours trying to figure this issue out, but have no luck. This is a
> simple
> > thing, but the array concept of AFL is a little confusing to me.
> >
> > My issue is that I want to write simple buy signal that goes like this:
> >
> > Buy:
> > - when the has been three down days in a row
> > - and the volume for those down days was below average (50 day)
> >
> > How would you right an AFL buy signal for that?
> >
> > My problem is that I don't know how to specify the previous day's price and previuos, previous
> > day's price.
> >
> > Thanks for the help in advance.
> > tomas
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> >
> >
> > 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 other support material please check also:
> > http://www.amibroker.com/support.html
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|