PureBytes Links
Trading Reference Links
|
David,
Would Power Basic allow one to implement back testing with multiple stocks
and extend Metastock functionality that way?
Thanks
Ara
----- Original Message -----
From: "David Jennings" <DavidJennings@xxxxxxxxxxxxx>
To: "William Malone" <wmalone@xxxxxxxxxxxx>
Cc: <metastock@xxxxxxxxxxxxx>
Sent: Saturday, February 23, 2002 10:41 AM
Subject: Re: Power Basic programming-metastock
> William,
>
> I have taken the liberty of copying my reply to the list as it might just
> help others.
>
> Power Basic has a user manual that is downloadable or at least I think it
> is. They also have a number of examples on their web site. There is also a
> book available for free - PC Magazine's BASIC Techniques and Utilities.
> Can't remember if this is downloaded separately or comes when you purchase
> Power Basic 32 bit DLL. Can't say I've really needed either - It's truly
> that straight forward.
>
> I'd also have a look at Kaufman's book Trading systems and methods - this
> will give you a good source of formulae etc. They are often laid out for
> TradeStation so they will translate fairly easily into PowerBasic. For
> mathematical methods, I'd heartily recommend Numerical Recipes from
> Cambridge University Press http://www.nr.com/. Mathematical purists often
> quibble over some of the implementations, but for the sums I do it's fine.
> Years ago, there used to be a version of it for basic. You might find one
on
> e-Bay or similar and it would be worth purchasing if you are thinking of
> serious computation.
>
> I have attached a copy of the code for the 32 bit version of the T3
moving
> average as a straightforward example. I use the code as as a template for
my
> own work as some of the bits are standard e.g. Libmain and Wep
>
> You'll notice, that there are two calls to the DLL - the first is the
> initialisation, and the second does the calculation on each bar.
>
> Shout if I can help further.
>
|