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

Re: [amibroker] Re: Buy tomorrow at open, sell at close



PureBytes Links

Trading Reference Links

Gerard,

I knew you were going to askl me that question! ... and I don't know!
Perhaps try:

Buy =1;

Nick

Quoting Gerard Carey <gerardncarey@xxxxxxxxxxx>:

> Tks for your input Nick
> To run a backtest I presume I need Buy & Sell statements.
> 
> Buy= Condition A;
> Sell= ????
> What do I use for a 'Sell' statement?
> I guess that's my problem.
> 
> Regds
> Gerard
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, nickrobinson@xxx wrote:
> >
> > Gerard,
> >
> > Wouldn't you use backtest settings/trades, with Buy at Open +1 and
> close at
> > Close +1?
> >
> > Nick
> >
> >
> > Quoting Gerard Carey <gerardncarey@xxx>:
> >
> > > Hi all
> > >
> > > If Condition A is met today, I wish to buy at tomorrow's open and
> sell
> > > at tomorrow's close.
> > > How do I code this?
> > > After much searching and many attempts to code this my brain
> appears to
> > > have turned to mush.
> > >
> > > TIA
> > > Regds Gerard
> > > --
> > >   Gerard Carey
> > >   gerardncarey at fastmail dot fm
> > >
> > > --
> > > http://www.fastmail.fm - Access your email from home and the web
> > >
> > >
> > >
> > >
> > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------
> > This email was sent from Netspace Webmail:
> http://www.netspace.net.au
> >
> 
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
> 





------------------------------------------------------------
This email was sent from Netspace Webmail: http://www.netspace.net.au



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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/