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

[amibroker] Re: newbie question



PureBytes Links

Trading Reference Links

Yes, you are right. Thanks for the correction.

Mike

--- In amibroker@xxxxxxxxxxxxxxx, Keith McCombs <kmccombs@xxx> wrote:
>
> Mike --
> For 5% below yesterday's close, I think you should have "Ref(Close, 
-1) 
> * .*9*5"
> -- Keith
> 
> Mike wrote:
> >
> > Time to read the user guide ;)
> >
> > http://www.amibroker.com/guide/ <http://www.amibroker.com/guide/>
> > http://www.amibroker.com/guide/AFL.html 
> > <http://www.amibroker.com/guide/AFL.html>
> > http://www.amibroker.com/guide/tutorial.html 
> > <http://www.amibroker.com/guide/tutorial.html>
> >
> > Specifically
> >
> > http://www.amibroker.com/guide/a_language.html 
> > <http://www.amibroker.com/guide/a_language.html>
> >
> > BuyPrice and SellPrice are just arrays (not functions) that you 
can
> > store the price in. e.g.
> >
> > // Means you bought at the Open
> > BuyPrice = Open;
> >
> > // Means your limit order of 5% below yesterday's close got filled 
at
> > 5% below or the Open, whichever was lesser.
> > BuyPrice = min(Ref(Close, -1) * .05, Open);
> >
> > Mike
> >
> > --- In amibroker@xxxxxxxxxxxxxxx 
<mailto:amibroker%40yahoogroups.com>, 
> > Noah Bender <knowabender@> wrote:
> > >
> > > Hello all,
> > >
> > > I am new to amibroker and have a newbie question.
> > >
> > > How does buypirce and sellprice function work?
> > >
> > > examples would be appreciated. i am not sure how this value is
> > stored.
> > >
> > > thanks in advance
> > >
> >
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/