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

[amibroker] Re: Walkforward test question



PureBytes Links

Trading Reference Links

Hmmm.  But the open price the next day will not be the same as the 
close price.  So, we loose the overnight value change....

--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote:
>
> I believe that the advised approach is to alter your arrays to be 
> state arrays rather than signal arrays.
> 
> e.g. Buy = Flip(Buy, Sell);
> 
> Your position will still be closed in the previous OOS, but it will 
> immediately be reopened in the current OOS if the condition still 
> applies.
> 
> Mike
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "dloyer123" <dloyer123@> wrote:
> >
> > Is there a way to keep trades open at the end of the out of 
sample 
> > walkforward step, rather than "mark to market" at the end of the 
> step?
> > 
> > The problem is that closing trades at the end of each step does 
not 
> > model trades that last longer than the walkforward step size.
> > 
> > I reduced the walkforward step size to 1 day, but this has the 
> implied 
> > effect of closing each trade at the end of the day in the out of 
> sample 
> > data. 
> > 
> > What I really want is to confine trade entries to the step 
window, 
> but 
> > let the trade end natrually in computing the out of sample 
> performance, 
> > as if I updated the entry parameters each step.
> >
>



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

Please note that this group is for discussion between users only.

To get 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/