Thank you Bruce,
The Rotatational mode might do the job, i hadn't thought of that.
herman
For tips on developing Real-Time Auto-Trading systems visit:
http://www.amibroker.org/userkb/
Wednesday, March 5, 2008, 12:21:34 PM, you wrote:
> Couple of ways to do this - just note that -
> 1. RotationalMode( period ) -> WalkForward approach
> IOW, a periodic rotation, say when -
> upi = ...
> EnableRotationalTrading();
> PositionScore = IIf( DayOfWeek() < Ref( DayOfWeek(), -1 ), upi,
> scoreNoRotate);
> This inherently a walk forward using the UPI on the first day of the
> week to decide what to hold going forward.
> 2. New walk-forward facility
> You might want to do it with the walk-forward facility if you wanted
> to optimize the UPI calculation parameters. But let's say you had no
> optimizable parameters, you could use the new walk-forward facility
> with a dummy variable, say -
> dummy = Optimize( "dummy", 1, 1, 1, 1 );
> (But, IMO, there may be a couple of boundary conditions questions that
> need to be addressed in the walk-forward function before this will do
> what I think you are after.)
> -- Bruce
> 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/
>
__._,_.___
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
__,_._,___
|