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

Re: [amibroker] A little help with Equity Curve



PureBytes Links

Trading Reference Links

Hello, Nate



You can make that a requirement of your filter: so, add the following
to your current system.

x=10000;
filter=iif(equity() > x,1,0);
/******Sample formula******/
Buy="your formula";
Sell="sell formula";
Short=0;Cover=0;
Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);

x=10000;
Filter=IIf(Equity() > x,1,0);

AddColumn(Buy,"buy");
AddColumn(Sell,"sell");
AddColumn(Filter,"Filter");
AddColumn(Equity(),"equity");

You should run your backtest **First** on your group of stocks, or set
apply to *all stocks* set your range of date values to backtest. This
way the equity function has some data to work with. Then after the
backtest is completed , just click explore and all tickers that equity
is greater than 10000, will be listed.

Hope this helps,
Anthony



"Dr. S. Nathan Berger" wrote:

> Hi, all
>
> When I run the backtest over my database with my favorite buy system,
> then
> look at the Equity Curve, I notice a great number of candidates with
> valuations over, say, 17,000 (based on initial equity of 10,0000.
> However,
> I have been selecting these by hand, scanning the database and listing
> the
> symbols as I discover them. Is there a way I can have AB give me a
> list of
> only those with an Equity curve value > x over y period of time?
>
> No reasonable offer of help refused!!
>
> Nate
>
>
> Yahoo! Groups Sponsor
ADVERTISEMENT


>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.