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

[amibroker] How to find the "real" last day of IS and OOS equity?



PureBytes Links

Trading Reference Links

Hello,

I have the following possibly simple coding problem. Let's assume that I 
perform a Walk-Forward Optimization with the first in-sample period from 
01/01/2000 to 31/12/2000 with a step of 3 months. When using Easy mode 
(EOD) and checking "Use today", the end day for the last IS and OOS 
periods is 30/09/2008.

So both IS and OOS equity are calculated by AB up to 30/09/2008 - but 
from 01/10/2008 until today both are nevertheless plotted as horizontal 
lines. This means that the metrics (like CAR) calculated for, e.g., OOS 
equity are incorrect if the range from OOS[0] to the last value of OOS 
is used. Correct would be using the range from OOS[0] to 
OOS[30/09/2008].  A similar problem arises if I want to show the 
Relative Performance of the trading system by plotting the ratio OOS 
equity/C. For the period from 01/10/2008 until today this line makes no 
sense at all.

So my problem is: How can I programatically find the end day for the last 
IS and OOS periods in order to calculate the metrics in a correct way? 
And how can I plot the Relative Performance line only up to that date?

Greetings,

Thomas

------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/