Thanks Graham

Of course!
from the Backtester results I can see the column with the expectancy figures. Then I just export this to csv and plot this in Excel which is what I will do for the moment. I will look at the Addtocomposite function again to see if I can extract that data into a composite symbol. I guess though if I am only getting 30 trades per year on a given strategy that will be an array that will need padding of data, and may not look too pretty.

Regards

ChrisB

Graham wrote:

You could try exporting the expectancy to a text file and plot from this, or create a composite symbol


--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriti ng.com <http://www.aflwriting.com>

On 21/01/2008, *ChrisB* <[EMAIL PROTECTED] net.au <mailto:[EMAIL PROTECTED]>> wrote:

    Promised attachment:


    ChrisB wrote:

    I will try and re-phrase the question:

    Anyone have any pointers as to how to Plot the running expectancy
    after
    I have run a Backtest?

    In Excel when I walk forward manually, I plot my Expectancy like
    this:

    Currently I place these trade on a Demo account to acquire the
    data for
    entries and exits.
    This is quite time consuming.
    I want to plot similar or the same in a pane after running a
    Backtest.
    When Positive and rising switch back to trading this strategy.
    When Negative and or Falling, stop using this strategy.

    Any pointers in the right direction would be appreciated, but I
    suspect
    this may involve more programming than
    I am capable of and may wish to farm this out.

    Regards

    ChrisB
    ChrisB wrote:
    >
    > The help files give code for including Expectancy in the
    backtest and
    > Optimization.
    >
    > I am not familiar with the working of the CBT. I can get the
    expectancy
    > to appear in a column in the backtester
    >
    > How would I extract the expectancy figures into an array so that
    I can
    > plot this?
    >
    > Regards
    >









Reply via email to