PureBytes Links
Trading Reference Links
|
Here is how I test the buy and hold.
Buy and Hold Indicator
periods:=Cum(If(C>0,1,0));
dollars:=C-ValueWhen(1,periods=1,C);
percnt:=C/ValueWhen(1,periods=1,C);
percnt; [or] dollars;
You can quickly run an exploration and look at the buy and hold on
everything in dollars or in percentage terms.
Michael
-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Tony
Sent: Thursday, August 17, 2000 9:33 AM
To: metastock@xxxxxxxxxxxxx
Subject: System Tester Question? Moving Average Entry
On Wed, 16 Aug 2000 14:24:54 EDT, you wrote:
Hallo Gents,
One of the trading systems I am testing uses moving average crossover
as buy signals. One looks for a 10day avg to cross the 200day with
some stochastic confirmations. The other test is 10day cross of a 50
day average. The problem is that no entry takes place until at least
200 days of loaded data is available even for the shorter test. So I
apparently cannot do an apples to apples comparison with the buy and
hold profits that buy on the first loaded date.
Is there a way of loading the data so that a fair comparison between
my system and the buy/hold strategy makes sense or does everyone just
ignore what would appear to be the most fundamental test of the
system.
Thanks for your input,
Tony
|