PureBytes Links
Trading Reference Links
|
Hi James. That works as well. Thank you very much.
--- In amibroker@xxxxxxxxxxxxxxx, "jamesfarrow2003"
<jamesfarrow2003@xxx> wrote:
>
> For Buy and Hold simulation, I have been using:
>
> Buy = 1;
> Sell = 0;
>
> I then select the date range from the AA window.
>
> --- In amibroker@xxxxxxxxxxxxxxx, "electricwally77" <soundmaker@>
> wrote:
> >
> > The code I wrote yesterday (Oct 20, 2008) is wrong. Howard Bandy
> wrote
> > the correct code. See below:
> >
> > SetTradeDelays(0,0,0,0);
> > BuyPrice = O;
> > SellPrice = C;
> > Buy = IIf(DateNum()==950623,1,0);
> > Sell = IIf(DateNum()==1020912,1,0);
> >
> >
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> 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/
|