TJ's code on http://www.amibroker.com/kb/2007/10/11/low-level-gfx-example-
yearlymonthly-profit-chart/ is also very useful for the evaluation of your walk 
forward results. Just replace

eq = Foreign("~~~EQUITY", "C" );

with

eq = Foreign("~~~OSEQUITY", "C" );

Greetings,

Thomas

On Sunday 22 March 2009 10:42:22 Paul Ho wrote:

> --- In [email protected], "ezbentley" <ezbent...@...> wrote:
> > If I backtest a system over the past 10 years, is there a way to show the
> > profit distribution breakdown each year? It would be really helpful in
> > general to see if a strategy makes money consistently every year, and to
> > identify what kind of market condition is suitable for a particular kind
> > of strategy.
>
> the simplest way is to use walk forward optimization to do this for you.
> just insert a dummy optimzation statement in your code, then go to setting
> and select yearly steps, uncheck out of sample data. Then run the walk
> forward optimization. You will get an break down table without writing a
> single line of code.
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>

Reply via email to