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

[EquisMetaStock Group] Re: Backtest Formula for Buy-and-Hold Strategy?



PureBytes Links

Trading Reference Links

Geoff,

With the limited information that you provided why not use Cum(1) to 
signify the start and finish. 

Buy:=Cum(1)=1;

Will work for the buy. Cum(1) is the first day of data.
If you know how many data points or days there are you could use 

Sell:= Cum(1)= {#of data points};

You may not need this though in version 9. Check to see if you can 
exit all trades at end of test. Seems like you can.

Preston


--- In equismetastock@xxxxxxxxxxxxxxx, "Geoff" <gmb1994@xxxx> wrote:
> How can I write the buy-and-hold formula?  It would buy on the 
first 
> day and sell on the last day of the system backtest.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/