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

Re: [EquisMetaStock Group] explorer 'backtesting'



PureBytes Links

Trading Reference Links

------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.

To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5413
------------------------------------------------------------------------

Mike

> Is it possible to backtest a system using explorer? ie; reset the
timeframe
> of the exploration start and end dates? I have only found alteration of
> 'records loaded' which just alters the look'back' period from most recent.
> Rather I want to create a window where both start and end dates occur
> sometime in the past.

Create this date filter as an indicator, set the required default values for
start and end date, and add "AND Fml("Date Filter")" to your entry code. I
use this filter to create an entry "window" with 'Trade Equity', and the
ending exploration date gives further control over the exit.

Roy

  {Date Filter}
Sd:=Input("Start day"  ,1,31,1);
Sm:=Input("Start month",1,12,1);
Sy:=Input("Start year" ,1980,2002,1998);
Ed:=Input("End day"    ,1,31,31);
Em:=Input("End month"  ,1,12,12);
Ey:=Input("End year"   ,1980,2002,2002);
((DayOfMonth() >= Sd AND Month() = Sm AND
Year()=Sy) OR Year() > Sy OR (Year() = Sy AND
Month() > Sm))
AND
((DayOfMonth() <= Ed AND Month()=Em AND
Year() = Ey) OR Year() < Ey OR (Year() = Ey AND
Month() < Em));



To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

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